diff options
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r-- | drivers/net/qlge/qlge.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index a478786840a6..ca306fd5f588 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -16,7 +16,7 @@ | |||
16 | */ | 16 | */ |
17 | #define DRV_NAME "qlge" | 17 | #define DRV_NAME "qlge" |
18 | #define DRV_STRING "QLogic 10 Gigabit PCI-E Ethernet Driver " | 18 | #define DRV_STRING "QLogic 10 Gigabit PCI-E Ethernet Driver " |
19 | #define DRV_VERSION "v1.00.00.25.00.00-01" | 19 | #define DRV_VERSION "v1.00.00.29.00.00-01" |
20 | 20 | ||
21 | #define WQ_ADDR_ALIGN 0x3 /* 4 byte alignment */ | 21 | #define WQ_ADDR_ALIGN 0x3 /* 4 byte alignment */ |
22 | 22 | ||
@@ -1996,6 +1996,7 @@ enum { | |||
1996 | QL_LB_LINK_UP = 10, | 1996 | QL_LB_LINK_UP = 10, |
1997 | QL_FRC_COREDUMP = 11, | 1997 | QL_FRC_COREDUMP = 11, |
1998 | QL_EEH_FATAL = 12, | 1998 | QL_EEH_FATAL = 12, |
1999 | QL_ASIC_RECOVERY = 14, /* We are in ascic recovery. */ | ||
1999 | }; | 2000 | }; |
2000 | 2001 | ||
2001 | /* link_status bit definitions */ | 2002 | /* link_status bit definitions */ |
@@ -2083,6 +2084,7 @@ struct ql_adapter { | |||
2083 | u32 mailbox_in; | 2084 | u32 mailbox_in; |
2084 | u32 mailbox_out; | 2085 | u32 mailbox_out; |
2085 | struct mbox_params idc_mbc; | 2086 | struct mbox_params idc_mbc; |
2087 | struct mutex mpi_mutex; | ||
2086 | 2088 | ||
2087 | int tx_ring_size; | 2089 | int tx_ring_size; |
2088 | int rx_ring_size; | 2090 | int rx_ring_size; |
@@ -2133,7 +2135,7 @@ struct ql_adapter { | |||
2133 | struct delayed_work mpi_idc_work; | 2135 | struct delayed_work mpi_idc_work; |
2134 | struct delayed_work mpi_core_to_log; | 2136 | struct delayed_work mpi_core_to_log; |
2135 | struct completion ide_completion; | 2137 | struct completion ide_completion; |
2136 | struct nic_operations *nic_ops; | 2138 | const struct nic_operations *nic_ops; |
2137 | u16 device_id; | 2139 | u16 device_id; |
2138 | struct timer_list timer; | 2140 | struct timer_list timer; |
2139 | atomic_t lb_count; | 2141 | atomic_t lb_count; |
@@ -2221,12 +2223,12 @@ int ql_write_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 data); | |||
2221 | int ql_unpause_mpi_risc(struct ql_adapter *qdev); | 2223 | int ql_unpause_mpi_risc(struct ql_adapter *qdev); |
2222 | int ql_pause_mpi_risc(struct ql_adapter *qdev); | 2224 | int ql_pause_mpi_risc(struct ql_adapter *qdev); |
2223 | int ql_hard_reset_mpi_risc(struct ql_adapter *qdev); | 2225 | int ql_hard_reset_mpi_risc(struct ql_adapter *qdev); |
2226 | int ql_soft_reset_mpi_risc(struct ql_adapter *qdev); | ||
2224 | int ql_dump_risc_ram_area(struct ql_adapter *qdev, void *buf, | 2227 | int ql_dump_risc_ram_area(struct ql_adapter *qdev, void *buf, |
2225 | u32 ram_addr, int word_count); | 2228 | u32 ram_addr, int word_count); |
2226 | int ql_core_dump(struct ql_adapter *qdev, | 2229 | int ql_core_dump(struct ql_adapter *qdev, |
2227 | struct ql_mpi_coredump *mpi_coredump); | 2230 | struct ql_mpi_coredump *mpi_coredump); |
2228 | int ql_mb_about_fw(struct ql_adapter *qdev); | 2231 | int ql_mb_about_fw(struct ql_adapter *qdev); |
2229 | int ql_wol(struct ql_adapter *qdev); | ||
2230 | 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); |
2231 | int ql_mb_wol_mode(struct ql_adapter *qdev, u32 wol); | 2233 | int ql_mb_wol_mode(struct ql_adapter *qdev, u32 wol); |
2232 | int ql_mb_set_led_cfg(struct ql_adapter *qdev, u32 led_config); | 2234 | int ql_mb_set_led_cfg(struct ql_adapter *qdev, u32 led_config); |
@@ -2237,22 +2239,20 @@ int ql_mb_set_mgmnt_traffic_ctl(struct ql_adapter *qdev, u32 control); | |||
2237 | int ql_mb_get_port_cfg(struct ql_adapter *qdev); | 2239 | int ql_mb_get_port_cfg(struct ql_adapter *qdev); |
2238 | int ql_mb_set_port_cfg(struct ql_adapter *qdev); | 2240 | int ql_mb_set_port_cfg(struct ql_adapter *qdev); |
2239 | int ql_wait_fifo_empty(struct ql_adapter *qdev); | 2241 | int ql_wait_fifo_empty(struct ql_adapter *qdev); |
2242 | void ql_get_dump(struct ql_adapter *qdev, void *buff); | ||
2240 | void ql_gen_reg_dump(struct ql_adapter *qdev, | 2243 | void ql_gen_reg_dump(struct ql_adapter *qdev, |
2241 | struct ql_reg_dump *mpi_coredump); | 2244 | struct ql_reg_dump *mpi_coredump); |
2242 | netdev_tx_t ql_lb_send(struct sk_buff *skb, struct net_device *ndev); | 2245 | netdev_tx_t ql_lb_send(struct sk_buff *skb, struct net_device *ndev); |
2243 | void ql_check_lb_frame(struct ql_adapter *, struct sk_buff *); | 2246 | void ql_check_lb_frame(struct ql_adapter *, struct sk_buff *); |
2244 | int ql_own_firmware(struct ql_adapter *qdev); | 2247 | int ql_own_firmware(struct ql_adapter *qdev); |
2245 | int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget); | 2248 | int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget); |
2246 | void qlge_set_multicast_list(struct net_device *ndev); | ||
2247 | 2249 | ||
2248 | #if 1 | 2250 | /* #define QL_ALL_DUMP */ |
2249 | #define QL_ALL_DUMP | 2251 | /* #define QL_REG_DUMP */ |
2250 | #define QL_REG_DUMP | 2252 | /* #define QL_DEV_DUMP */ |
2251 | #define QL_DEV_DUMP | 2253 | /* #define QL_CB_DUMP */ |
2252 | #define QL_CB_DUMP | ||
2253 | /* #define QL_IB_DUMP */ | 2254 | /* #define QL_IB_DUMP */ |
2254 | /* #define QL_OB_DUMP */ | 2255 | /* #define QL_OB_DUMP */ |
2255 | #endif | ||
2256 | 2256 | ||
2257 | #ifdef QL_REG_DUMP | 2257 | #ifdef QL_REG_DUMP |
2258 | extern void ql_dump_xgmac_control_regs(struct ql_adapter *qdev); | 2258 | extern void ql_dump_xgmac_control_regs(struct ql_adapter *qdev); |