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.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index d096e10ad634..b8339c9ae0e3 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -1909,7 +1909,6 @@
1909 1909
1910#define MII_TG3_DSP_RW_PORT 0x15 /* DSP coefficient read/write port */ 1910#define MII_TG3_DSP_RW_PORT 0x15 /* DSP coefficient read/write port */
1911 1911
1912#define MII_TG3_EPHY_PTEST 0x17 /* 5906 PHY register */
1913#define MII_TG3_DSP_ADDRESS 0x17 /* DSP address register */ 1912#define MII_TG3_DSP_ADDRESS 0x17 /* DSP address register */
1914 1913
1915#define MII_TG3_DSP_TAP1 0x0001 1914#define MII_TG3_DSP_TAP1 0x0001
@@ -1976,17 +1975,23 @@
1976#define MII_TG3_MISC_SHDW_SCR5_LPED 0x0010 1975#define MII_TG3_MISC_SHDW_SCR5_LPED 0x0010
1977#define MII_TG3_MISC_SHDW_SCR5_SEL 0x1400 1976#define MII_TG3_MISC_SHDW_SCR5_SEL 0x1400
1978 1977
1979
1980#define MII_TG3_EPHY_TEST 0x1f /* 5906 PHY register */
1981#define MII_TG3_EPHY_SHADOW_EN 0x80
1982
1983#define MII_TG3_EPHYTST_MISCCTRL 0x10 /* 5906 EPHY misc ctrl shadow register */
1984#define MII_TG3_EPHYTST_MISCCTRL_MDIX 0x4000
1985
1986#define MII_TG3_TEST1 0x1e 1978#define MII_TG3_TEST1 0x1e
1987#define MII_TG3_TEST1_TRIM_EN 0x0010 1979#define MII_TG3_TEST1_TRIM_EN 0x0010
1988#define MII_TG3_TEST1_CRC_EN 0x8000 1980#define MII_TG3_TEST1_CRC_EN 0x8000
1989 1981
1982
1983/* Fast Ethernet Tranceiver definitions */
1984#define MII_TG3_FET_PTEST 0x17
1985#define MII_TG3_FET_TEST 0x1f
1986#define MII_TG3_FET_SHADOW_EN 0x0080
1987
1988#define MII_TG3_FET_SHDW_MISCCTRL 0x10
1989#define MII_TG3_FET_SHDW_MISCCTRL_MDIX 0x4000
1990
1991#define MII_TG3_FET_SHDW_AUXSTAT2 0x1b
1992#define MII_TG3_FET_SHDW_AUXSTAT2_APD 0x0020
1993
1994
1990/* APE registers. Accessible through BAR1 */ 1995/* APE registers. Accessible through BAR1 */
1991#define TG3_APE_EVENT 0x000c 1996#define TG3_APE_EVENT 0x000c
1992#define APE_EVENT_1 0x00000001 1997#define APE_EVENT_1 0x00000001