scsi: aacraid: Fix INTx/MSI-x issue with older controllers
authorDave Carroll <david.carroll@microsemi.com>
Thu, 9 Feb 2017 18:04:47 +0000 (11:04 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 10 Feb 2017 00:28:11 +0000 (19:28 -0500)
commit8af8e1c22f9994bb1849c01d66c24fe23f9bc9a0
tree4cd217a231cfd229e51b23d57c71bb73c9578865
parentffdadd68af5a397b8a52289ab39d62e1acb39e63
scsi: aacraid: Fix INTx/MSI-x issue with older controllers

commit 78cbccd3bd68 ("aacraid: Fix for KDUMP driver hang")

caused a problem on older controllers which do not support MSI-x (namely
ASR3405,ASR3805). This patch conditionalizes the previous patch to
controllers which support MSI-x

Cc: <stable@vger.kernel.org> # v4.7+
Fixes: 78cbccd3bd68 ("aacraid: Fix for KDUMP driver hang")
Reported-by: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com>
Signed-off-by: Dave Carroll <david.carroll@microsemi.com>
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/comminit.c