]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] qla2xxx: Don't register to legacy interrupt for ISP82xx.
authorGiridhar Malavali <giridhar.malavali@qlogic.com>
Wed, 22 Aug 2012 18:21:07 +0000 (14:21 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 14 Sep 2012 17:28:48 +0000 (18:28 +0100)
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_isr.c

index 074b680ef93852f2717ce6db3c5aacf626647751..f6415fec4761ee008e5b723326092b550827e552 100644 (file)
@@ -2913,6 +2913,11 @@ skip_msix:
        } else
                ql_log(ql_log_warn, vha, 0x0039,
                    "MSI-X; Falling back-to INTa mode -- %d.\n", ret);
+
+       /* Skip INTx on ISP82xx. */
+       if (!ha->flags.msi_enabled && IS_QLA82XX(ha))
+               return QLA_FUNCTION_FAILED;
+
 skip_msi:
 
        ret = request_irq(ha->pdev->irq, ha->isp_ops->intr_handler,