summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiridhar Malavali <giridhar.malavali@qlogic.com>2012-08-22 14:21:30 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-09-24 12:10:54 +0400
commitcb860bbd6b4b12cb56640fefceeaffb526eb7ac5 (patch)
tree8ebfe4afaeca9ea745e197f01cfec70ee746e961
parent409ee0fe14b113cbb7ec6ef4a6e0982e2e5c1e8f (diff)
downloadop-kernel-dev-cb860bbd6b4b12cb56640fefceeaffb526eb7ac5.zip
op-kernel-dev-cb860bbd6b4b12cb56640fefceeaffb526eb7ac5.tar.gz
[SCSI] qla2xxx: Fix for legacy interrupts for ISP83xx.
Signed-off-by: Giridhar Malaval <giridhar.malavali@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 9a2e1fa..f01be76 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -2556,6 +2556,8 @@ qla24xx_intr_handler(int irq, void *dev_id)
}
WRT_REG_DWORD(&reg->hccr, HCCRX_CLR_RISC_INT);
RD_REG_DWORD_RELAXED(&reg->hccr);
+ if (unlikely(IS_QLA83XX(ha) && (ha->pdev->revision == 1)))
+ ndelay(3500);
}
spin_unlock_irqrestore(&ha->hardware_lock, flags);
OpenPOWER on IntegriCloud