diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2010-07-05 08:19:38 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-05 22:41:20 -0400 |
commit | fc312ecea71f42c32d41a30ba130c0230a1c6d61 (patch) | |
tree | 764968baaf175981d44b1384bc5841a854a3f753 /drivers/net/qlge/qlge_dbg.c | |
parent | f2c05004f349635528558da8e253faf78377730e (diff) |
qlge: Don't use firmware when forcing firmware dump.
In some cases the firmware may be dead. Instead we dump the firmware
parameters and then restart it.
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_dbg.c')
-rw-r--r-- | drivers/net/qlge/qlge_dbg.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/qlge/qlge_dbg.c b/drivers/net/qlge/qlge_dbg.c index 68a1c9b91e74..548e9010b20b 100644 --- a/drivers/net/qlge/qlge_dbg.c +++ b/drivers/net/qlge/qlge_dbg.c | |||
@@ -1237,12 +1237,7 @@ static void ql_get_core_dump(struct ql_adapter *qdev) | |||
1237 | "Force Coredump can only be done from interface that is up.\n"); | 1237 | "Force Coredump can only be done from interface that is up.\n"); |
1238 | return; | 1238 | return; |
1239 | } | 1239 | } |
1240 | 1240 | ql_queue_fw_error(qdev); | |
1241 | if (ql_mb_sys_err(qdev)) { | ||
1242 | netif_err(qdev, ifup, qdev->ndev, | ||
1243 | "Fail force coredump with ql_mb_sys_err().\n"); | ||
1244 | return; | ||
1245 | } | ||
1246 | } | 1241 | } |
1247 | 1242 | ||
1248 | void ql_gen_reg_dump(struct ql_adapter *qdev, | 1243 | void ql_gen_reg_dump(struct ql_adapter *qdev, |