diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2010-07-05 14:19:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-06 04:41:20 +0200 |
commit | fc312ecea71f42c32d41a30ba130c0230a1c6d61 (patch) | |
tree | 764968baaf175981d44b1384bc5841a854a3f753 /drivers/net/qlge/qlge_mpi.c | |
parent | qlge: Restore promiscuous setting after reset. (diff) | |
download | linux-fc312ecea71f42c32d41a30ba130c0230a1c6d61.tar.xz linux-fc312ecea71f42c32d41a30ba130c0230a1c6d61.zip |
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_mpi.c')
-rw-r--r-- | drivers/net/qlge/qlge_mpi.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/net/qlge/qlge_mpi.c b/drivers/net/qlge/qlge_mpi.c index 3c00462a5d22..f84e8570c7cb 100644 --- a/drivers/net/qlge/qlge_mpi.c +++ b/drivers/net/qlge/qlge_mpi.c @@ -606,23 +606,6 @@ end: return status; } -int ql_mb_sys_err(struct ql_adapter *qdev) -{ - struct mbox_params mbc; - struct mbox_params *mbcp = &mbc; - int status; - - memset(mbcp, 0, sizeof(struct mbox_params)); - - mbcp->in_count = 1; - mbcp->out_count = 0; - - mbcp->mbox_in[0] = MB_CMD_MAKE_SYS_ERR; - - status = ql_mailbox_command(qdev, mbcp); - return status; -} - /* Get MPI firmware version. This will be used for * driver banner and for ethtool info. * Returns zero on success. |