SCSI: mpt2sas: Fix for issue - Unable to boot from the drive connected to HBA
authorsreekanth.reddy@lsi.com <sreekanth.reddy@lsi.com>
Wed, 22 Aug 2012 11:25:13 +0000 (16:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 16:47:26 +0000 (09:47 -0700)
commit9772793ce1e36cae113b1bc97451700c08cef906
treecf8b35fb09e2a71c8619c47d11d38f1edb392b65
parentb0871df8f1c83eaa4c97f402a39809a66ba63373
SCSI: mpt2sas: Fix for issue - Unable to boot from the drive connected to HBA

commit 10cce6d8b5af0b32bc4254ae4a28423a74c0921c upstream.

This patch checks whether HBA is SAS2008 B0 controller.
if it is a SAS2008 B0 controller then it use IO-APIC interrupt instead of MSIX,
as SAS2008 B0 controller doesn't support MSIX interrupts.

[jejb: fix whitespace problems]
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/mpt2sas/mpt2sas_base.c