aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 574a1cc4d353..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
@@ -2082,7 +2082,7 @@
2082#define MII_TG3_DSP_AADJ1CH0 0x001f 2082#define MII_TG3_DSP_AADJ1CH0 0x001f
2083#define MII_TG3_DSP_AADJ1CH3 0x601f 2083#define MII_TG3_DSP_AADJ1CH3 0x601f
2084#define MII_TG3_DSP_AADJ1CH3_ADCCKADJ 0x0002 2084#define MII_TG3_DSP_AADJ1CH3_ADCCKADJ 0x0002
2085#define MII_TG3_DSP_EXP8 0x0708 2085#define MII_TG3_DSP_EXP8 0x0f08
2086#define MII_TG3_DSP_EXP8_REJ2MHz 0x0001 2086#define MII_TG3_DSP_EXP8_REJ2MHz 0x0001
2087#define MII_TG3_DSP_EXP8_AEDW 0x0200 2087#define MII_TG3_DSP_EXP8_AEDW 0x0200
2088#define MII_TG3_DSP_EXP75 0x0f75 2088#define MII_TG3_DSP_EXP75 0x0f75
@@ -2561,7 +2561,7 @@ struct tg3_bufmgr_config {
2561 2561
2562struct tg3_ethtool_stats { 2562struct 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;