qla4xxx: Disable INTx interrupt for ISP82XX
authorTej Parkash <tej.parkash@qlogic.com>
Thu, 10 Apr 2014 01:12:24 +0000 (21:12 -0400)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 17:12:18 +0000 (19:12 +0200)
Signed-off-by: Tej Parkash <tej.parkash@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla4xxx/ql4_isr.c

index b1925d195f41ce29c69e4f3258da2e075ed3fe94..081b6b78d2c6beab69aa44e0c161f9581a17365b 100644 (file)
@@ -1526,7 +1526,7 @@ void qla4xxx_process_aen(struct scsi_qla_host * ha, uint8_t process_aen)
 
 int qla4xxx_request_irqs(struct scsi_qla_host *ha)
 {
-       int ret;
+       int ret = 0;
        int rval = QLA_ERROR;
 
        if (is_qla40XX(ha))
@@ -1580,15 +1580,13 @@ try_msi:
                }
        }
 
-       /*
-        * Prevent interrupts from falling back to INTx mode in cases where
-        * interrupts cannot get acquired through MSI-X or MSI mode.
-        */
+try_intx:
        if (is_qla8022(ha)) {
-               ql4_printk(KERN_WARNING, ha, "IRQ not attached -- %d.\n", ret);
+               ql4_printk(KERN_WARNING, ha, "%s: ISP82xx Legacy interrupt not supported\n",
+                          __func__);
                goto irq_not_attached;
        }
-try_intx:
+
        /* Trying INTx */
        ret = request_irq(ha->pdev->irq, ha->isp_ops->intr_handler,
            IRQF_SHARED, DRIVER_NAME, ha);
This page took 0.027732 seconds and 5 git commands to generate.