p_slot->switch_save = !getstatus? 0x10:0; 
int pciehp_enable_slot(struct slot *p_slot){	u8 getstatus = 0;	int rc;	/* Check to see if (latch closed, card present, power off) */	down(&p_slot->ctrl->crit_sect);	rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus);	if (rc || !getstatus) {		info("%s: no adapter on slot(%x)\n", __FUNCTION__, p_slot->number);		up(&p_slot->ctrl->crit_sect);		return 1;	}	if (MRL_SENS(p_slot->ctrl->ctrlcap)) {			rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus);		if (rc || getstatus) {			info("%s: latch open on slot(%x)\n", __FUNCTION__, p_slot->number);			up(&p_slot->ctrl->crit_sect);			return 1;		}	}		if (POWER_CTRL(p_slot->ctrl->ctrlcap)) {			rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus);		if (rc || getstatus) {			info("%s: already enabled on slot(%x)\n", __FUNCTION__, p_slot->number);			up(&p_slot->ctrl->crit_sect);			return 1;		}	}	up(&p_slot->ctrl->crit_sect);	p_slot->configured = 0;	p_slot->is_a_board = 1;	/* We have to save the presence info for these slots */	p_slot->hpc_ops->get_adapter_status(p_slot, &(p_slot->presence_save));	p_slot->hpc_ops->get_latch_status(p_slot, &getstatus);	p_slot->switch_save = !getstatus? 0x10:0;	rc = board_added(p_slot);	if (rc) {		/* We have to save the presence info for these slots */		p_slot->hpc_ops->get_adapter_status(p_slot,				&(p_slot->presence_save));		p_slot->hpc_ops->get_latch_status(p_slot, &getstatus);		p_slot->switch_save = !getstatus? 0x10:0;	}	if (p_slot)		update_slot_info(p_slot);	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/ed6cbcf2ac706aa47194fd2f7a99865cc06833d7/pciehp_ctrl.c/buggy/drivers/pci/hotplug/pciehp_ctrl.c