summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx
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/qla4xxx
parentecca51203b8d9e5d09e40e7a52835392a83858e0 (diff)
downloadop-kernel-dev-fbd8107cc9a0e31b3b028da607157fd23561975b.zip
op-kernel-dev-fbd8107cc9a0e31b3b028da607157fd23561975b.tar.gz
[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/qla4xxx')
-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 d2d7b25..c1093eb 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