Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226819
b: refs/heads/master
c: d56a1f7
h: refs/heads/master
i:
  226817: efa8664
  226815: 3318783
v: v3
  • Loading branch information
Lalit Chandivade authored and James Bottomley committed Dec 21, 2010
1 parent 2b07ba2 commit aa905c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e128271b7bcb9c8955cadbf2e18f8af288979e6b
refs/heads/master: d56a1f7b39631806ee3d49445a65da6288b099b4
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/qla4xxx/ql4_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,9 @@ void qla4_8xxx_watchdog(struct scsi_qla_host *ha)
dev_state = qla4_8xxx_rd_32(ha, QLA82XX_CRB_DEV_STATE);

/* don't poll if reset is going on */
if (!test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags)) {
if (!(test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) ||
test_bit(DPC_RESET_HA, &ha->dpc_flags) ||
test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags))) {
if (dev_state == QLA82XX_DEV_NEED_RESET &&
!test_bit(DPC_RESET_HA, &ha->dpc_flags)) {
printk("scsi%ld: %s: HW State: NEED RESET!\n",
Expand Down

0 comments on commit aa905c7

Please sign in to comment.