[SCSI] qla2xxx: Fix for legacy interrupts for ISP83xx.
authorGiridhar Malavali <giridhar.malavali@qlogic.com>
Wed, 22 Aug 2012 18:21:30 +0000 (14:21 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:54 +0000 (12:10 +0400)
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>
drivers/scsi/qla2xxx/qla_isr.c

index 9a2e1fa..f01be76 100644 (file)
@@ -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);