diff options
author | Shyam Sundar <shyam.sundar@qlogic.com> | 2010-12-03 01:12:08 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-21 13:24:35 -0500 |
commit | 61391d314e856030b2b40b5d6ea22b93de0f1fed (patch) | |
tree | 0fba1d31cb8b92fb3364416f0df677c0116bb7fd /drivers/scsi/qla4xxx | |
parent | 3e1350c4dc8900476c4db2066c00f13e9e939817 (diff) |
[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 <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>
Diffstat (limited to 'drivers/scsi/qla4xxx')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_isr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_isr.c b/drivers/scsi/qla4xxx/ql4_isr.c index 5d9575cebff9..ca862b12a8db 100644 --- a/drivers/scsi/qla4xxx/ql4_isr.c +++ b/drivers/scsi/qla4xxx/ql4_isr.c | |||
@@ -1077,7 +1077,7 @@ try_msi: | |||
1077 | ret = pci_enable_msi(ha->pdev); | 1077 | ret = pci_enable_msi(ha->pdev); |
1078 | if (!ret) { | 1078 | if (!ret) { |
1079 | ret = request_irq(ha->pdev->irq, qla4_8xxx_msi_handler, | 1079 | ret = request_irq(ha->pdev->irq, qla4_8xxx_msi_handler, |
1080 | IRQF_SHARED, DRIVER_NAME, ha); | 1080 | 0, DRIVER_NAME, ha); |
1081 | if (!ret) { | 1081 | if (!ret) { |
1082 | DEBUG2(ql4_printk(KERN_INFO, ha, "MSI: Enabled.\n")); | 1082 | DEBUG2(ql4_printk(KERN_INFO, ha, "MSI: Enabled.\n")); |
1083 | set_bit(AF_MSI_ENABLED, &ha->flags); | 1083 | set_bit(AF_MSI_ENABLED, &ha->flags); |