path: root/drivers/scsi/mpt2sas/mpt2sas_base.c
diff options
authorLinus Torvalds <>2012-09-23 14:48:28 -0700
committerLinus Torvalds <>2012-09-23 14:48:28 -0700
commit0bf7a7056c7b39502008feb484b95a5877cdf59d (patch)
tree9bffbc828a4e46c91f8ea8e64c5f0985597ee29e /drivers/scsi/mpt2sas/mpt2sas_base.c
parentfaa2ad09c01c48012fe4c117d3256e354e0f9238 (diff)
parent256d0eaac87da1e993190846064f339f4c7a63f5 (diff)
Merge tag 'scsi-fixes' of git://
Pull SCSI fixes from James Bottomley: "This is a set of four essential fixes: two oops related (bnx2i, virtio-scsi), one data corruption related (hpsa) and one failure to boot due to interrupt routing issues (mpt2ss). Signed-off-by: James Bottomley <>" * tag 'scsi-fixes' of git:// [SCSI] hpsa: fix handling of protocol error [SCSI] mpt2sas: Fix for issue - Unable to boot from the drive connected to HBA [SCSI] bnx2i: Fixed NULL ptr deference for 1G bnx2 Linux iSCSI offload [SCSI] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_base.c')
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c
index b25757d1e91..9d5a56c4b33 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
@@ -1209,6 +1209,13 @@ _base_check_enable_msix(struct MPT2SAS_ADAPTER *ioc)
u16 message_control;
+ /* Check whether controller SAS2008 B0 controller,
+ if it is SAS2008 B0 controller use IO-APIC instead of MSIX */
+ if (ioc->pdev->device == MPI2_MFGPAGE_DEVID_SAS2008 &&
+ ioc->pdev->revision == 0x01) {
+ return -EINVAL;
+ }
base = pci_find_capability(ioc->pdev, PCI_CAP_ID_MSIX);
if (!base) {
dfailprintk(ioc, printk(MPT2SAS_INFO_FMT "msix not "