aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-12-06 03:28:50 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-06 14:03:46 -0500
commit3110f5f5545a645c50ef66b1f705d08dfd1df404 (patch)
tree0de70162efdc0094ec52af362730712271967730 /drivers/net/tg3.h
parent8fc2f9956127d2b85280c07e69aeb08b9bd85150 (diff)
tg3: Move EEE definitions into mdio.h
In commit 52b02d04c801fff51ca49ad033210846d1713253 entitled "tg3: Add EEE support", Ben Hutchings had commented that the EEE advertisement register will be in a standard location. This patch moves that definition into mdio.h and changes the code to use it. Signed-off-by: Matt Carlson <mcarlson@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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 59b0e096149e..6e72c6bd2675 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2172,9 +2172,6 @@
2172#define MII_TG3_TEST1_CRC_EN 0x8000 2172#define MII_TG3_TEST1_CRC_EN 0x8000
2173 2173
2174/* Clause 45 expansion registers */ 2174/* Clause 45 expansion registers */
2175#define TG3_CL45_D7_EEEADV_CAP 0x003c
2176#define TG3_CL45_D7_EEEADV_CAP_100TX 0x0002
2177#define TG3_CL45_D7_EEEADV_CAP_1000T 0x0004
2178#define TG3_CL45_D7_EEERES_STAT 0x803e 2175#define TG3_CL45_D7_EEERES_STAT 0x803e
2179#define TG3_CL45_D7_EEERES_STAT_LP_100TX 0x0002 2176#define TG3_CL45_D7_EEERES_STAT_LP_100TX 0x0002
2180#define TG3_CL45_D7_EEERES_STAT_LP_1000T 0x0004 2177#define TG3_CL45_D7_EEERES_STAT_LP_1000T 0x0004