summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2012-09-20 07:35:03 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-09-24 12:27:46 +0400
commitfbd8107cc9a0e31b3b028da607157fd23561975b (patch)
tree227b956771fa7a8822b58223d501b632c77ee531 /drivers/scsi
parentecca51203b8d9e5d09e40e7a52835392a83858e0 (diff)
downloadblackbird-op-linux-fbd8107cc9a0e31b3b028da607157fd23561975b.tar.gz
blackbird-op-linux-fbd8107cc9a0e31b3b028da607157fd23561975b.zip
[SCSI] qla4xxx: Clear interrupt while unloading driver for ISP83XX
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index d2d7b252c5df..c1093eb16e2e 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -3501,6 +3501,9 @@ static void qla4xxx_free_adapter(struct scsi_qla_host *ha)
} else if (is_qla8022(ha)) {
writel(0, &ha->qla4_82xx_reg->host_int);
readl(&ha->qla4_82xx_reg->host_int);
+ } else if (is_qla8032(ha)) {
+ writel(0, &ha->qla4_83xx_reg->risc_intr);
+ readl(&ha->qla4_83xx_reg->risc_intr);
}
/* Remove timer thread, if present */
OpenPOWER on IntegriCloud