diff options
author | Wolfgang Denk <wd@denx.de> | 2008-01-23 14:20:49 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-23 14:20:49 +0100 |
commit | 2468592d79891fea4f39d0a414c7316f3af03f4c (patch) | |
tree | c1fc8b7d4306e4930e5afd63793decb10be2166c /drivers/net/tsec.h | |
parent | 8f00731818f0f0deaca899bde56de98d3d95c0b6 (diff) | |
parent | e16925773211291b562e77187061e9dd1d757217 (diff) | |
download | u-boot-imx-2468592d79891fea4f39d0a414c7316f3af03f4c.zip u-boot-imx-2468592d79891fea4f39d0a414c7316f3af03f4c.tar.gz u-boot-imx-2468592d79891fea4f39d0a414c7316f3af03f4c.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-net
Diffstat (limited to 'drivers/net/tsec.h')
-rw-r--r-- | drivers/net/tsec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/tsec.h b/drivers/net/tsec.h index 2f0092a..d4dc15a 100644 --- a/drivers/net/tsec.h +++ b/drivers/net/tsec.h @@ -184,6 +184,14 @@ #define MIIM_88E1145_PHY_PAGE 29 #define MIIM_88E1145_PHY_CAL_OV 30 +/* RTL8211B PHY Status Register */ +#define MIIM_RTL8211B_PHY_STATUS 0x11 +#define MIIM_RTL8211B_PHYSTAT_SPEED 0xc000 +#define MIIM_RTL8211B_PHYSTAT_GBIT 0x8000 +#define MIIM_RTL8211B_PHYSTAT_100 0x4000 +#define MIIM_RTL8211B_PHYSTAT_DUPLEX 0x2000 +#define MIIM_RTL8211B_PHYSTAT_SPDDONE 0x0800 +#define MIIM_RTL8211B_PHYSTAT_LINK 0x0400 /* DM9161 Control register values */ #define MIIM_DM9161_CR_STOP 0x0400 |