summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2009-03-03 12:10:36 +0000
committerDavid S. Miller <davem@davemloft.net>2009-03-03 23:50:49 -0800
commitbb6676705e41efdf4ba788340a885b19fd5a0215 (patch)
tree0e087f504bb21521965e83d75277ea539f955af8 /drivers
parent7c92191cb4203d3900461074f90851e9e7b56fcb (diff)
downloadtalos-op-linux-bb6676705e41efdf4ba788340a885b19fd5a0215.tar.gz
talos-op-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')
-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:
OpenPOWER on IntegriCloud