]> git.karo-electronics.de Git - linux-beck.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>
Mon, 24 Sep 2012 08:10:48 +0000 (12:10 +0400)
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 2b05af1838f4e72e688b65d12936a89f85b0010b..9997864b6b3c44f1b3372f2edb1e8542e6b533a3 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,