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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index ac47c176fc03..3938eb35ce8c 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -545,6 +545,8 @@
545#define SG_DIG_FIBER_MODE 0x00008000 545#define SG_DIG_FIBER_MODE 0x00008000
546#define SG_DIG_REMOTE_FAULT_MASK 0x00006000 546#define SG_DIG_REMOTE_FAULT_MASK 0x00006000
547#define SG_DIG_PAUSE_MASK 0x00001800 547#define SG_DIG_PAUSE_MASK 0x00001800
548#define SG_DIG_PAUSE_CAP 0x00000800
549#define SG_DIG_ASYM_PAUSE 0x00001000
548#define SG_DIG_GBIC_ENABLE 0x00000400 550#define SG_DIG_GBIC_ENABLE 0x00000400
549#define SG_DIG_CHECK_END_ENABLE 0x00000200 551#define SG_DIG_CHECK_END_ENABLE 0x00000200
550#define SG_DIG_SGMII_AUTONEG_TIMER 0x00000100 552#define SG_DIG_SGMII_AUTONEG_TIMER 0x00000100
@@ -556,6 +558,11 @@
556#define SG_DIG_AUTONEG_LOW_ENABLE 0x00000004 558#define SG_DIG_AUTONEG_LOW_ENABLE 0x00000004
557#define SG_DIG_REMOTE_LOOPBACK 0x00000002 559#define SG_DIG_REMOTE_LOOPBACK 0x00000002
558#define SG_DIG_LOOPBACK 0x00000001 560#define SG_DIG_LOOPBACK 0x00000001
561#define SG_DIG_COMMON_SETUP (SG_DIG_CRC16_CLEAR_N | \
562 SG_DIG_LOCAL_DUPLEX_STATUS | \
563 SG_DIG_LOCAL_LINK_STATUS | \
564 (0x2 << SG_DIG_SPEED_STATUS_SHIFT) | \
565 SG_DIG_FIBER_MODE | SG_DIG_GBIC_ENABLE)
559#define SG_DIG_STATUS 0x000005b4 566#define SG_DIG_STATUS 0x000005b4
560#define SG_DIG_CRC16_BUS_MASK 0xffff0000 567#define SG_DIG_CRC16_BUS_MASK 0xffff0000
561#define SG_DIG_PARTNER_FAULT_MASK 0x00600000 /* If !MRADV_CRC16_SELECT */ 568#define SG_DIG_PARTNER_FAULT_MASK 0x00600000 /* If !MRADV_CRC16_SELECT */