]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] 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)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:27:46 +0000 (12:27 +0400)
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_os.c

index d2d7b252c5df11b5278997fc1e592502cc7096d6..c1093eb16e2efae0c80a5e8461d20384e4bb00a7 100644 (file)
@@ -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 */