]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla4xxx: Clear interrupt while unloading driver for ISP83XX
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Thu, 20 Sep 2012 11:35:03 +0000 (07:35 -0400)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 12 Nov 2012 10:51:23 +0000 (02:51 -0800)
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
(cherry picked from commit 08ccee5d924b8ed563a41e5275bbcc77fc5fc40a)

drivers/scsi/qla4xxx/ql4_os.c

index 52172bb1b9ab7eb3732689ce3659d62ce21a9685..5453b9b6c19ced06ba032e693c2a05c974caa6ea 100644 (file)
@@ -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 */