diff options
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 4836f56cbdd1..5d7f72a2ea01 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -23,7 +23,7 @@ | |||
23 | #define TG3_BDINFO_NIC_ADDR 0xcUL /* 32-bit */ | 23 | #define TG3_BDINFO_NIC_ADDR 0xcUL /* 32-bit */ |
24 | #define TG3_BDINFO_SIZE 0x10UL | 24 | #define TG3_BDINFO_SIZE 0x10UL |
25 | 25 | ||
26 | #define RX_COPY_THRESHOLD 256 | 26 | #define RX_COPY_THRESHOLD 256 |
27 | 27 | ||
28 | #define TG3_RX_INTERNAL_RING_SZ_5906 32 | 28 | #define TG3_RX_INTERNAL_RING_SZ_5906 32 |
29 | 29 | ||
@@ -252,7 +252,7 @@ | |||
252 | /* 0x94 --> 0x98 unused */ | 252 | /* 0x94 --> 0x98 unused */ |
253 | #define TG3PCI_STD_RING_PROD_IDX 0x00000098 /* 64-bit */ | 253 | #define TG3PCI_STD_RING_PROD_IDX 0x00000098 /* 64-bit */ |
254 | #define TG3PCI_RCV_RET_RING_CON_IDX 0x000000a0 /* 64-bit */ | 254 | #define TG3PCI_RCV_RET_RING_CON_IDX 0x000000a0 /* 64-bit */ |
255 | /* 0xa0 --> 0xb8 unused */ | 255 | /* 0xa8 --> 0xb8 unused */ |
256 | #define TG3PCI_DUAL_MAC_CTRL 0x000000b8 | 256 | #define TG3PCI_DUAL_MAC_CTRL 0x000000b8 |
257 | #define DUAL_MAC_CTRL_CH_MASK 0x00000003 | 257 | #define DUAL_MAC_CTRL_CH_MASK 0x00000003 |
258 | #define DUAL_MAC_CTRL_ID 0x00000004 | 258 | #define DUAL_MAC_CTRL_ID 0x00000004 |
@@ -2561,7 +2561,7 @@ struct tg3_bufmgr_config { | |||
2561 | 2561 | ||
2562 | struct tg3_ethtool_stats { | 2562 | struct tg3_ethtool_stats { |
2563 | /* Statistics maintained by Receive MAC. */ | 2563 | /* Statistics maintained by Receive MAC. */ |
2564 | u64 rx_octets; | 2564 | u64 rx_octets; |
2565 | u64 rx_fragments; | 2565 | u64 rx_fragments; |
2566 | u64 rx_ucast_packets; | 2566 | u64 rx_ucast_packets; |
2567 | u64 rx_mcast_packets; | 2567 | u64 rx_mcast_packets; |