Commit 61391d31 authored by Shyam Sundar's avatar Shyam Sundar Committed by James Bottomley

[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: default avatarVikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: default avatarShyam Sundar <shyam.sundar@qlogic.com>
Signed-off-by: default avatarRavi Anand <ravi.anand@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 3e1350c4
...@@ -1077,7 +1077,7 @@ int qla4xxx_request_irqs(struct scsi_qla_host *ha) ...@@ -1077,7 +1077,7 @@ int qla4xxx_request_irqs(struct scsi_qla_host *ha)
ret = pci_enable_msi(ha->pdev); ret = pci_enable_msi(ha->pdev);
if (!ret) { if (!ret) {
ret = request_irq(ha->pdev->irq, qla4_8xxx_msi_handler, ret = request_irq(ha->pdev->irq, qla4_8xxx_msi_handler,
IRQF_SHARED, DRIVER_NAME, ha); 0, DRIVER_NAME, ha);
if (!ret) { if (!ret) {
DEBUG2(ql4_printk(KERN_INFO, ha, "MSI: Enabled.\n")); DEBUG2(ql4_printk(KERN_INFO, ha, "MSI: Enabled.\n"));
set_bit(AF_MSI_ENABLED, &ha->flags); set_bit(AF_MSI_ENABLED, &ha->flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment