Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328907
b: refs/heads/master
c: d9e62e5
h: refs/heads/master
i:
  328905: 7d4c7a9
  328903: eb840e2
v: v3
  • Loading branch information
Vikas Chaudhary authored and James Bottomley committed Sep 24, 2012
1 parent 11b7cd1 commit 2a37d4a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e9157c832b0dd0a8916278355cf5b15cd19c3c9
refs/heads/master: d9e62e513081c66d85bb0b91740ce3313c56b546
9 changes: 9 additions & 0 deletions trunk/drivers/scsi/qla4xxx/ql4_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -3487,6 +3487,15 @@ static void qla4xxx_free_adapter(struct scsi_qla_host *ha)
ha->isp_ops->disable_intrs(ha);
}

if (is_qla40XX(ha)) {
writel(set_rmask(CSR_SCSI_PROCESSOR_INTR),
&ha->reg->ctrl_status);
readl(&ha->reg->ctrl_status);
} else if (is_qla8022(ha)) {
writel(0, &ha->qla4_8xxx_reg->host_int);
readl(&ha->qla4_8xxx_reg->host_int);
}

/* Remove timer thread, if present */
if (ha->timer_active)
qla4xxx_stop_timer(ha);
Expand Down

0 comments on commit 2a37d4a

Please sign in to comment.