aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/qlge
diff options
context:
space:
mode:
authorRon Mercer2009-03-03 12:10:36 +0000
committerDavid S. Miller2009-03-03 23:50:49 -0800
commitbb6676705e41efdf4ba788340a885b19fd5a0215 (patch)
tree0e087f504bb21521965e83d75277ea539f955af8 /drivers/net/qlge
parent7c92191cb4203d3900461074f90851e9e7b56fcb (diff)
qlge: Save status from firmware crash (system err).
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge')
-rw-r--r--drivers/net/qlge/qlge_mpi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge_mpi.c b/drivers/net/qlge/qlge_mpi.c
index 2c1d2205c653..f9a237165fc1 100644
--- a/drivers/net/qlge/qlge_mpi.c
+++ b/drivers/net/qlge/qlge_mpi.c
@@ -415,7 +415,10 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp)
break;
case AEN_SYS_ERR:
+ QPRINTK(qdev, DRV, ERR,
+ "System Error.\n");
ql_queue_fw_error(qdev);
+ status = -EIO;
break;
default: