diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-01-05 14:18:06 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-07 16:49:45 -0500 |
commit | 124f85e6cc0290a85adb7e14cd90e96105f4f9fb (patch) | |
tree | 590016a8b3c7708466ff9b3c5c459a9170a9eb85 /drivers/scsi/qla2xxx/qla_os.c | |
parent | 1ded85e2850b7b890fb6b51241429ed685ec2763 (diff) |
[SCSI] qla2xxx: Don't fallback to interrupt-polling during re-initialization with MSI-X enabled.
ROMs in recent ISPs have MSI-X support, so it's no longer
necessary for the driver to fallback to interrupt polling during
ISP re-initialization.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 3b1b68c1f6f2..3580c034ab0a 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -1329,6 +1329,8 @@ qla24xx_disable_intrs(struct qla_hw_data *ha) | |||
1329 | unsigned long flags = 0; | 1329 | unsigned long flags = 0; |
1330 | struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; | 1330 | struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; |
1331 | 1331 | ||
1332 | if (IS_NOPOLLING_TYPE(ha)) | ||
1333 | return; | ||
1332 | spin_lock_irqsave(&ha->hardware_lock, flags); | 1334 | spin_lock_irqsave(&ha->hardware_lock, flags); |
1333 | ha->interrupts_on = 0; | 1335 | ha->interrupts_on = 0; |
1334 | WRT_REG_DWORD(®->ictrl, 0); | 1336 | WRT_REG_DWORD(®->ictrl, 0); |