[SCSI] qla4xxx: initialize MSI in correct way
authorShyam Sundar <shyam.sundar@qlogic.com>
Fri, 3 Dec 2010 06:12:08 +0000 (22:12 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:35 +0000 (12:24 -0600)
IRQF_SHARED flag should not be set when calling request_irq for MSI since
this interrupt mechanism cannot be shared like standard INTx

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: Shyam Sundar <shyam.sundar@qlogic.com>
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla4xxx/ql4_isr.c

index 5d9575cebff93bf2d2a02291960d0a6c245f5b2a..ca862b12a8dbccf25e4f7f226583b26613250ef1 100644 (file)
@@ -1077,7 +1077,7 @@ try_msi:
        ret = pci_enable_msi(ha->pdev);
        if (!ret) {
                ret = request_irq(ha->pdev->irq, qla4_8xxx_msi_handler,
-                       IRQF_SHARED, DRIVER_NAME, ha);
+                       0, DRIVER_NAME, ha);
                if (!ret) {
                        DEBUG2(ql4_printk(KERN_INFO, ha, "MSI: Enabled.\n"));
                        set_bit(AF_MSI_ENABLED, &ha->flags);