Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135047
b: refs/heads/master
c: 7c92191
h: refs/heads/master
i:
  135045: 9de4434
  135043: 8a31e73
  135039: a1faa89
v: v3
  • Loading branch information
Ron Mercer authored and David S. Miller committed Mar 4, 2009
1 parent f630844 commit 0f0bb1c
Show file tree
Hide file tree
Showing 2 changed files with 19 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: f56b54f5423177d26da0aee1f8e7d5da6225ce6d
refs/heads/master: 7c92191cb4203d3900461074f90851e9e7b56fcb
18 changes: 18 additions & 0 deletions trunk/drivers/net/qlge/qlge_mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,25 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp)
ql_sfp_out(qdev, mbcp);
break;

/* This event can arrive at boot time or after an
* MPI reset if the firmware failed to initialize.
*/
case AEN_FW_INIT_FAIL:
/* If we're in process on executing the firmware,
* then convert the status to normal mailbox status.
*/
if (mbcp->mbox_in[0] == MB_CMD_EX_FW) {
mbcp->out_count = orig_count;
status = ql_get_mb_sts(qdev, mbcp);
mbcp->mbox_out[0] = MB_CMD_STS_ERR;
return status;
}
QPRINTK(qdev, DRV, ERR,
"Firmware initialization failed.\n");
status = -EIO;
ql_queue_fw_error(qdev);
break;

case AEN_SYS_ERR:
ql_queue_fw_error(qdev);
break;
Expand Down

0 comments on commit 0f0bb1c

Please sign in to comment.