Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210607
b: refs/heads/master
c: 4142b19
h: refs/heads/master
i:
  210605: 65c8e5c
  210603: 8ff6659
  210599: 006a199
  210591: b8f99db
v: v3
  • Loading branch information
Giridhar Malavali authored and James Bottomley committed Sep 5, 2010
1 parent c49edd7 commit f08b826
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 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: efa786cc43a114d0bf2e4b95e856ea6911404d58
refs/heads/master: 4142b1987f1f8ba90589642cb74566eaff3dc2e9
20 changes: 12 additions & 8 deletions trunk/drivers/scsi/qla2xxx/qla_nx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3307,13 +3307,15 @@ qla82xx_check_fw_alive(scsi_qla_host_t *vha)
set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
}
qla2xxx_wake_dpc(vha);
ha->flags.fw_hung = 1;
if (ha->flags.mbox_busy) {
ha->flags.fw_hung = 1;
ha->flags.mbox_int = 1;
DEBUG2(qla_printk(KERN_ERR, ha,
"Due to fw hung, doing premature "
"completion of mbx command\n"));
complete(&ha->mbx_intr_comp);
"Due to fw hung, doing premature "
"completion of mbx command\n"));
if (test_bit(MBX_INTR_WAIT,
&ha->mbx_cmd_flags))
complete(&ha->mbx_intr_comp);
}
}
} else
Expand Down Expand Up @@ -3419,13 +3421,15 @@ void qla82xx_watchdog(scsi_qla_host_t *vha)
"%s(): Adapter reset needed!\n", __func__);
set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
qla2xxx_wake_dpc(vha);
ha->flags.fw_hung = 1;
if (ha->flags.mbox_busy) {
ha->flags.fw_hung = 1;
ha->flags.mbox_int = 1;
DEBUG2(qla_printk(KERN_ERR, ha,
"Need reset, doing premature "
"completion of mbx command\n"));
complete(&ha->mbx_intr_comp);
"Need reset, doing premature "
"completion of mbx command\n"));
if (test_bit(MBX_INTR_WAIT,
&ha->mbx_cmd_flags))
complete(&ha->mbx_intr_comp);
}
} else {
qla82xx_check_fw_alive(vha);
Expand Down

0 comments on commit f08b826

Please sign in to comment.