diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2010-07-27 08:35:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-27 23:35:41 -0400 |
commit | de0c62dba71389bcf3d9249d6e6edbc5a032c5ce (patch) | |
tree | bd5f30dc96dc917ef2bb9c1ce9814e7b14b3069e /drivers/net/bnx2x/bnx2x.h | |
parent | 9f6c925889ad9204c7d1f5ca116d2e5fd6036c72 (diff) |
bnx2x: Create separate file for ethtool routines
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h index 260507032d39..ed7058fe94cd 100644 --- a/drivers/net/bnx2x/bnx2x.h +++ b/drivers/net/bnx2x/bnx2x.h | |||
@@ -20,6 +20,10 @@ | |||
20 | * (you will need to reboot afterwards) */ | 20 | * (you will need to reboot afterwards) */ |
21 | /* #define BNX2X_STOP_ON_ERROR */ | 21 | /* #define BNX2X_STOP_ON_ERROR */ |
22 | 22 | ||
23 | #define DRV_MODULE_VERSION "1.52.53-1" | ||
24 | #define DRV_MODULE_RELDATE "2010/18/04" | ||
25 | #define BNX2X_BC_VER 0x040200 | ||
26 | |||
23 | #if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) | 27 | #if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) |
24 | #define BCM_VLAN 1 | 28 | #define BCM_VLAN 1 |
25 | #endif | 29 | #endif |
@@ -1133,6 +1137,10 @@ u32 bnx2x_fw_command(struct bnx2x *bp, u32 command); | |||
1133 | void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val); | 1137 | void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val); |
1134 | void bnx2x_write_dmae_phys_len(struct bnx2x *bp, dma_addr_t phys_addr, | 1138 | void bnx2x_write_dmae_phys_len(struct bnx2x *bp, dma_addr_t phys_addr, |
1135 | u32 addr, u32 len); | 1139 | u32 addr, u32 len); |
1140 | void bnx2x_calc_fc_adv(struct bnx2x *bp); | ||
1141 | int bnx2x_sp_post(struct bnx2x *bp, int command, int cid, | ||
1142 | u32 data_hi, u32 data_lo, int common); | ||
1143 | void bnx2x_update_coalesce(struct bnx2x *bp); | ||
1136 | 1144 | ||
1137 | static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, | 1145 | static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, |
1138 | int wait) | 1146 | int wait) |
@@ -1384,4 +1392,6 @@ BNX2X_EXTERN int load_count[3]; /* 0-common, 1-port0, 2-port1 */ | |||
1384 | 1392 | ||
1385 | /* MISC_REG_RESET_REG - this is here for the hsi to work don't touch */ | 1393 | /* MISC_REG_RESET_REG - this is here for the hsi to work don't touch */ |
1386 | 1394 | ||
1395 | extern void bnx2x_set_ethtool_ops(struct net_device *netdev); | ||
1396 | |||
1387 | #endif /* bnx2x.h */ | 1397 | #endif /* bnx2x.h */ |