From: Vikas Chaudhary Date: Thu, 20 Sep 2012 11:35:03 +0000 (-0400) Subject: qla4xxx: Clear interrupt while unloading driver for ISP83XX X-Git-Tag: v2.6.39-400.9.0~65 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fc450aaaffc2a8dec93ef8f12c251527dfa1b873;p=users%2Fjedix%2Flinux-maple.git qla4xxx: Clear interrupt while unloading driver for ISP83XX Signed-off-by: Vikas Chaudhary Signed-off-by: James Bottomley (cherry picked from commit 08ccee5d924b8ed563a41e5275bbcc77fc5fc40a) --- diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 52172bb1b9ab..5453b9b6c19c 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c @@ -3499,6 +3499,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 */