[SCSI] qla4xxx: initialize MSI in correct way

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 <[email protected]>
Signed-off-by: Shyam Sundar <[email protected]>
Signed-off-by: Ravi Anand <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
Shyam Sundar
2010-12-21 12:24:35 -06:00
committed by James Bottomley
parent 3e1350c4dc
commit 61391d314e
+1 -1
View 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);