diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-06-13 09:39:01 -0400 |
---|---|---|
committer | David S. Miller <davem@conan.davemloft.net> | 2011-06-15 11:11:57 -0400 |
commit | 221c56373ee7088dd3015b928782d5e70dc5074e (patch) | |
tree | 71bb96a6222548e3b5f1adb60a5245115be825e3 /drivers/net/tg3.h | |
parent | 5bb09778e2196770d218e82904f15b558d9a1e50 (diff) |
tg3: Migrate phy preprocessor defs to system defs
This patch changes to code to use some of the preprocessor
definitions from mii.h over its homegrown equivalents.
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@conan.davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 54441a346cb3..bedc3b4557b5 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -2152,14 +2152,6 @@ | |||
2152 | 2152 | ||
2153 | 2153 | ||
2154 | /*** Tigon3 specific PHY MII registers. ***/ | 2154 | /*** Tigon3 specific PHY MII registers. ***/ |
2155 | #define TG3_BMCR_SPEED1000 0x0040 | ||
2156 | |||
2157 | #define MII_TG3_CTRL 0x09 /* 1000-baseT control register */ | ||
2158 | #define MII_TG3_CTRL_ADV_1000_HALF 0x0100 | ||
2159 | #define MII_TG3_CTRL_ADV_1000_FULL 0x0200 | ||
2160 | #define MII_TG3_CTRL_AS_MASTER 0x0800 | ||
2161 | #define MII_TG3_CTRL_ENABLE_AS_MASTER 0x1000 | ||
2162 | |||
2163 | #define MII_TG3_MMD_CTRL 0x0d /* MMD Access Control register */ | 2155 | #define MII_TG3_MMD_CTRL 0x0d /* MMD Access Control register */ |
2164 | #define MII_TG3_MMD_CTRL_DATA_NOINC 0x4000 | 2156 | #define MII_TG3_MMD_CTRL_DATA_NOINC 0x4000 |
2165 | #define MII_TG3_MMD_ADDRESS 0x0e /* MMD Address Data register */ | 2157 | #define MII_TG3_MMD_ADDRESS 0x0e /* MMD Address Data register */ |