u32 rc = 0; 
int shpchp_disable_slot (struct slot *p_slot){	u8 getstatus = 0;	u32 rc = 0;	int ret = 0;	if (!p_slot->ctrl)		return -ENODEV;	/* Check to see if (latch closed, card present, power on) */	down(&p_slot->ctrl->crit_sect);	ret = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus);	if (ret || !getstatus) {		info("%s: no adapter on slot(%x)\n", __FUNCTION__, p_slot->number);		up(&p_slot->ctrl->crit_sect);		return -ENODEV;	}	ret = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus);	if (ret || getstatus) {		info("%s: latch open on slot(%x)\n", __FUNCTION__, p_slot->number);		up(&p_slot->ctrl->crit_sect);		return -ENODEV;	}	ret = p_slot->hpc_ops->get_power_status(p_slot, &getstatus);	if (ret || !getstatus) {		info("%s: already disabled slot(%x)\n", __FUNCTION__, p_slot->number);		up(&p_slot->ctrl->crit_sect);		return -ENODEV;	}	up(&p_slot->ctrl->crit_sect);	rc = remove_board(p_slot);	update_slot_info(p_slot);	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/ee138334d5eb5ca662b2d69228420c1ccc051e0e/shpchp_ctrl.c/buggy/drivers/pci/hotplug/shpchp_ctrl.c