[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>
This commit is contained in:
parent
ecca51203b
commit
fbd8107cc9
1 changed files with 3 additions and 0 deletions
|
@ -3501,6 +3501,9 @@ static void qla4xxx_free_adapter(struct scsi_qla_host *ha)
|
||||||
} else if (is_qla8022(ha)) {
|
} else if (is_qla8022(ha)) {
|
||||||
writel(0, &ha->qla4_82xx_reg->host_int);
|
writel(0, &ha->qla4_82xx_reg->host_int);
|
||||||
readl(&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 */
|
/* Remove timer thread, if present */
|
||||||
|
|
Reference in a new issue