diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2010-01-15 08:31:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-16 04:01:52 -0500 |
commit | 8aae2600030f54494f9061d2cde141802d774be9 (patch) | |
tree | 543f1b31264ee96703bb45ed454d293796f45948 /drivers/net/qlge/qlge.h | |
parent | b87babeb40aaf879d20268792390ce831805a557 (diff) |
qlge: Add basic firmware dump.
Adding the infrstructure and basic data for the firmware
core dump.
The firmware coredump is turned OFF by default. There will be no
memory allocations for data dumps to the log.
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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index a265325abb15..bbdd388aa9b7 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -2211,6 +2211,7 @@ extern int ql_write_cfg(struct ql_adapter *qdev, void *ptr, int size, u32 bit, | |||
2211 | void ql_queue_fw_error(struct ql_adapter *qdev); | 2211 | void ql_queue_fw_error(struct ql_adapter *qdev); |
2212 | void ql_mpi_work(struct work_struct *work); | 2212 | void ql_mpi_work(struct work_struct *work); |
2213 | void ql_mpi_reset_work(struct work_struct *work); | 2213 | void ql_mpi_reset_work(struct work_struct *work); |
2214 | void ql_mpi_core_to_log(struct work_struct *work); | ||
2214 | int ql_wait_reg_rdy(struct ql_adapter *qdev, u32 reg, u32 bit, u32 ebit); | 2215 | int ql_wait_reg_rdy(struct ql_adapter *qdev, u32 reg, u32 bit, u32 ebit); |
2215 | void ql_queue_asic_error(struct ql_adapter *qdev); | 2216 | void ql_queue_asic_error(struct ql_adapter *qdev); |
2216 | u32 ql_enable_completion_interrupt(struct ql_adapter *qdev, u32 intr); | 2217 | u32 ql_enable_completion_interrupt(struct ql_adapter *qdev, u32 intr); |
@@ -2221,6 +2222,11 @@ void ql_mpi_port_cfg_work(struct work_struct *work); | |||
2221 | int ql_mb_get_fw_state(struct ql_adapter *qdev); | 2222 | int ql_mb_get_fw_state(struct ql_adapter *qdev); |
2222 | int ql_cam_route_initialize(struct ql_adapter *qdev); | 2223 | int ql_cam_route_initialize(struct ql_adapter *qdev); |
2223 | int ql_read_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 *data); | 2224 | int ql_read_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 *data); |
2225 | int ql_write_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 data); | ||
2226 | int ql_unpause_mpi_risc(struct ql_adapter *qdev); | ||
2227 | int ql_pause_mpi_risc(struct ql_adapter *qdev); | ||
2228 | int ql_core_dump(struct ql_adapter *qdev, | ||
2229 | struct ql_mpi_coredump *mpi_coredump); | ||
2224 | int ql_mb_about_fw(struct ql_adapter *qdev); | 2230 | int ql_mb_about_fw(struct ql_adapter *qdev); |
2225 | int ql_wol(struct ql_adapter *qdev); | 2231 | int ql_wol(struct ql_adapter *qdev); |
2226 | int ql_mb_wol_set_magic(struct ql_adapter *qdev, u32 enable_wol); | 2232 | int ql_mb_wol_set_magic(struct ql_adapter *qdev, u32 enable_wol); |