mpt_detach(struct pci_dev *pdev){	MPT_ADAPTER 	*ioc = pci_get_drvdata(pdev);	char pname[32];	int ii;	sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s/summary", ioc->name);	remove_proc_entry(pname, NULL);	sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s/info", ioc->name);	remove_proc_entry(pname, NULL);	sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s", ioc->name);	remove_proc_entry(pname, NULL);		/* call per device driver remove entry point */	for(ii=0; ii<MPT_MAX_PROTOCOL_DRIVERS; ii++) {		if(MptDeviceDriverHandlers[ii] &&		  MptDeviceDriverHandlers[ii]->remove) {			MptDeviceDriverHandlers[ii]->remove(pdev);		}	}		/* Disable interrupts! */	CHIPREG_WRITE32(&ioc->chip->IntMask, 0xFFFFFFFF);	ioc->active = 0;	synchronize_irq(pdev->irq);	/* Clear any lingering interrupt */	CHIPREG_WRITE32(&ioc->chip->IntStatus, 0);	CHIPREG_READ32(&ioc->chip->IntStatus);	mpt_adapter_dispose(ioc);	pci_set_drvdata(pdev, NULL);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c6678e0cfb41b029c3600c54b5bb65954de1230a/mptbase.c/clean/drivers/message/fusion/mptbase.c