aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge.h
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
commitc71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch)
treeecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/net/qlge/qlge.h
parentea53c912f8a86a8567697115b6a0d8152beee5c8 (diff)
parent6a00f206debf8a5c8899055726ad127dbeeed098 (diff)
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts: litmus/sched_cedf.c
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r--drivers/net/qlge/qlge.h20
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);
2221int ql_unpause_mpi_risc(struct ql_adapter *qdev); 2223int ql_unpause_mpi_risc(struct ql_adapter *qdev);
2222int ql_pause_mpi_risc(struct ql_adapter *qdev); 2224int ql_pause_mpi_risc(struct ql_adapter *qdev);
2223int ql_hard_reset_mpi_risc(struct ql_adapter *qdev); 2225int ql_hard_reset_mpi_risc(struct ql_adapter *qdev);
2226int ql_soft_reset_mpi_risc(struct ql_adapter *qdev);
2224int ql_dump_risc_ram_area(struct ql_adapter *qdev, void *buf, 2227int 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);
2226int ql_core_dump(struct ql_adapter *qdev, 2229int ql_core_dump(struct ql_adapter *qdev,
2227 struct ql_mpi_coredump *mpi_coredump); 2230 struct ql_mpi_coredump *mpi_coredump);
2228int ql_mb_about_fw(struct ql_adapter *qdev); 2231int ql_mb_about_fw(struct ql_adapter *qdev);
2229int ql_wol(struct ql_adapter *qdev);
2230int ql_mb_wol_set_magic(struct ql_adapter *qdev, u32 enable_wol); 2232int ql_mb_wol_set_magic(struct ql_adapter *qdev, u32 enable_wol);
2231int ql_mb_wol_mode(struct ql_adapter *qdev, u32 wol); 2233int ql_mb_wol_mode(struct ql_adapter *qdev, u32 wol);
2232int ql_mb_set_led_cfg(struct ql_adapter *qdev, u32 led_config); 2234int 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);
2237int ql_mb_get_port_cfg(struct ql_adapter *qdev); 2239int ql_mb_get_port_cfg(struct ql_adapter *qdev);
2238int ql_mb_set_port_cfg(struct ql_adapter *qdev); 2240int ql_mb_set_port_cfg(struct ql_adapter *qdev);
2239int ql_wait_fifo_empty(struct ql_adapter *qdev); 2241int ql_wait_fifo_empty(struct ql_adapter *qdev);
2242void ql_get_dump(struct ql_adapter *qdev, void *buff);
2240void ql_gen_reg_dump(struct ql_adapter *qdev, 2243void ql_gen_reg_dump(struct ql_adapter *qdev,
2241 struct ql_reg_dump *mpi_coredump); 2244 struct ql_reg_dump *mpi_coredump);
2242netdev_tx_t ql_lb_send(struct sk_buff *skb, struct net_device *ndev); 2245netdev_tx_t ql_lb_send(struct sk_buff *skb, struct net_device *ndev);
2243void ql_check_lb_frame(struct ql_adapter *, struct sk_buff *); 2246void ql_check_lb_frame(struct ql_adapter *, struct sk_buff *);
2244int ql_own_firmware(struct ql_adapter *qdev); 2247int ql_own_firmware(struct ql_adapter *qdev);
2245int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget); 2248int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget);
2246void 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
2258extern void ql_dump_xgmac_control_regs(struct ql_adapter *qdev); 2258extern void ql_dump_xgmac_control_regs(struct ql_adapter *qdev);