linux/drivers/message/fusion
Hanjun Guo 20953a6277 [SCSI] Fusion MPT: disable pci device when mpt map resoures failed
when probe a pci device, first we enable it, and disable it when
some error happened in the following process, because the power
state of the device is set to D0, and if MSI is disabled,
we will allocate irq and register gsi for this device in the enable process.

In function mpt_mapresources(MPT_ADAPTER *ioc), it forgot disable the
pci device when error happened, the irq and gsi will never be released.
this patch will fix it.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Acked-by: "Nandigama, Nagalakshmi" <Nagalakshmi.Nandigama@lsi.com> 
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-09-14 17:59:29 +01:00
..
lsi SCSI updates for post 3.2 merge window 2012-01-10 10:36:08 -08:00
Kconfig
Makefile message: change to new flag variable 2011-03-17 14:05:34 +01:00
mptbase.c [SCSI] Fusion MPT: disable pci device when mpt map resoures failed 2012-09-14 17:59:29 +01:00
mptbase.h [SCSI] fusion: ensure NUL-termination of MptCallbacksName elements 2011-12-15 10:57:29 +04:00
mptctl.c drivers/message/fusion: use pci_dev->revision 2012-05-31 17:49:26 -07:00
mptctl.h [SCSI] mpt fusion : Updated copyright statment with 2008 included 2008-06-05 09:27:17 -05:00
mptdebug.h [SCSI] mpt fusion: Fixing 1078 data corruption issue for 36GB memory region 2009-06-09 17:21:31 -05:00
mptfc.c SCSI host lock push-down 2010-11-16 13:33:23 -08:00
mptlan.c [SCSI] mptfusion: Extra debug prints added relavent to Device missing delay error handling 2010-07-28 09:07:47 -05:00
mptlan.h tokenring: delete all remaining driver support 2012-05-15 20:23:16 -04:00
mptsas.c [SCSI] mptsas: Add device ID for SAS1068_820XELP. 2011-12-15 10:57:30 +04:00
mptsas.h [SCSI] mptfusion: Added sanity to check B_T mapping for device before adding to OS 2010-07-27 12:02:32 -05:00
mptscsih.c [SCSI] mptfusion: Added check for SILI bit in READ_16 CDB for DATA UNDERRUN ERRATA 2011-09-22 15:15:08 +04:00
mptscsih.h [SCSI] mptfusion: Better handling of DEAD IOC PCI-E Link down error condition 2011-08-27 08:35:16 -06:00
mptspi.c [SCSI] mptfusion: Adding inline data padding support for TAPE drive. 2011-05-01 11:57:50 -05:00