diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2011-08-21 16:17:22 +0200 |
---|---|---|
committer | Francois Romieu <romieu@fr.zoreil.com> | 2011-08-25 11:08:21 +0200 |
commit | cd2967803617cd0a0bb8611e7d41c33a451207a5 (patch) | |
tree | ff7c2b014c8ba1d8b022f78510e32911af4dc1a7 /drivers/net/ethernet/sun/sunbmac.h | |
parent | 78f6a6bd89e9a33e4be1bc61e6990a1172aa396e (diff) | |
download | linux-cd2967803617cd0a0bb8611e7d41c33a451207a5.tar.gz linux-cd2967803617cd0a0bb8611e7d41c33a451207a5.tar.bz2 linux-cd2967803617cd0a0bb8611e7d41c33a451207a5.zip |
sunbmac: use standard #defines from mii.h.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/ethernet/sun/sunbmac.h')
-rw-r--r-- | drivers/net/ethernet/sun/sunbmac.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/net/ethernet/sun/sunbmac.h b/drivers/net/ethernet/sun/sunbmac.h index 4943e975a731..06dd21707353 100644 --- a/drivers/net/ethernet/sun/sunbmac.h +++ b/drivers/net/ethernet/sun/sunbmac.h @@ -223,23 +223,6 @@ #define BIGMAC_PHY_EXTERNAL 0 /* External transceiver */ #define BIGMAC_PHY_INTERNAL 1 /* Internal transceiver */ -/* PHY registers */ -#define BIGMAC_BMCR 0x00 /* Basic mode control register */ -#define BIGMAC_BMSR 0x01 /* Basic mode status register */ - -/* BMCR bits */ -#define BMCR_ISOLATE 0x0400 /* Disconnect DP83840 from MII */ -#define BMCR_PDOWN 0x0800 /* Powerdown the DP83840 */ -#define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */ -#define BMCR_SPEED100 0x2000 /* Select 100Mbps */ -#define BMCR_LOOPBACK 0x4000 /* TXD loopback bits */ -#define BMCR_RESET 0x8000 /* Reset the DP83840 */ - -/* BMSR bits */ -#define BMSR_ERCAP 0x0001 /* Ext-reg capability */ -#define BMSR_JCD 0x0002 /* Jabber detected */ -#define BMSR_LSTATUS 0x0004 /* Link status */ - /* Ring descriptors and such, same as Quad Ethernet. */ struct be_rxd { u32 rx_flags; |