summaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge_mpi.c
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2009-03-03 13:10:36 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-04 08:50:49 +0100
commitbb6676705e41efdf4ba788340a885b19fd5a0215 (patch)
tree0e087f504bb21521965e83d75277ea539f955af8 /drivers/net/qlge/qlge_mpi.c
parentqlge: Improve handling for firmware init failure. (diff)
downloadlinux-bb6676705e41efdf4ba788340a885b19fd5a0215.tar.xz
linux-bb6676705e41efdf4ba788340a885b19fd5a0215.zip
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/qlge_mpi.c')
-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: