diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-04-05 06:19:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-06 06:58:02 -0400 |
commit | c6cdf43631c4108b38b872136c926691e987880f (patch) | |
tree | d3b96c81631f17e1e9e05bae5c6115a6bf47ea2c /drivers/net/tg3.h | |
parent | 184b89044fb6e2a74611dafa69b1dce0d98612c6 (diff) |
tg3: Whitespace, constant, and comment updates
This patch fixes whitespace errors, preprocessor definition placement
oddities and updates comments.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
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; |