diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2010-01-15 08:31:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-16 04:01:55 -0500 |
commit | d5c1da56afb8a6b232393fb3fdef4909389d05fe (patch) | |
tree | 93da1e713ba6b43150da47fc75306ddeb0f440dc /drivers/net/qlge/qlge.h | |
parent | a2f982328427157eaa819c02986a65b9b168733a (diff) |
qlge: Add module param to force firmware core dump.
Default setting is 'off', don't allow force firmware dump.
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.h')
-rw-r--r-- | drivers/net/qlge/qlge.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index 05feb03e9da6..9169c4cf413a 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -2004,6 +2004,7 @@ enum { | |||
2004 | QL_CAM_RT_SET = 8, | 2004 | QL_CAM_RT_SET = 8, |
2005 | QL_SELFTEST = 9, | 2005 | QL_SELFTEST = 9, |
2006 | QL_LB_LINK_UP = 10, | 2006 | QL_LB_LINK_UP = 10, |
2007 | QL_FRC_COREDUMP = 11, | ||
2007 | }; | 2008 | }; |
2008 | 2009 | ||
2009 | /* link_status bit definitions */ | 2010 | /* link_status bit definitions */ |
@@ -2230,6 +2231,7 @@ int ql_dump_risc_ram_area(struct ql_adapter *qdev, void *buf, | |||
2230 | u32 ram_addr, int word_count); | 2231 | u32 ram_addr, int word_count); |
2231 | int ql_core_dump(struct ql_adapter *qdev, | 2232 | int ql_core_dump(struct ql_adapter *qdev, |
2232 | struct ql_mpi_coredump *mpi_coredump); | 2233 | struct ql_mpi_coredump *mpi_coredump); |
2234 | int ql_mb_sys_err(struct ql_adapter *qdev); | ||
2233 | int ql_mb_about_fw(struct ql_adapter *qdev); | 2235 | int ql_mb_about_fw(struct ql_adapter *qdev); |
2234 | int ql_wol(struct ql_adapter *qdev); | 2236 | int ql_wol(struct ql_adapter *qdev); |
2235 | int ql_mb_wol_set_magic(struct ql_adapter *qdev, u32 enable_wol); | 2237 | int ql_mb_wol_set_magic(struct ql_adapter *qdev, u32 enable_wol); |
@@ -2246,6 +2248,7 @@ void ql_gen_reg_dump(struct ql_adapter *qdev, | |||
2246 | struct ql_reg_dump *mpi_coredump); | 2248 | struct ql_reg_dump *mpi_coredump); |
2247 | netdev_tx_t ql_lb_send(struct sk_buff *skb, struct net_device *ndev); | 2249 | netdev_tx_t ql_lb_send(struct sk_buff *skb, struct net_device *ndev); |
2248 | void ql_check_lb_frame(struct ql_adapter *, struct sk_buff *); | 2250 | void ql_check_lb_frame(struct ql_adapter *, struct sk_buff *); |
2251 | int ql_own_firmware(struct ql_adapter *qdev); | ||
2249 | int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget); | 2252 | int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget); |
2250 | 2253 | ||
2251 | #if 1 | 2254 | #if 1 |