diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-09-04 22:00:33 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-09-04 22:00:33 +0000 |
commit | 618942d5c6f6067e982237c33ae8f3c685cbfb8f (patch) | |
tree | 01140771021371fa8e87d6aeab2664d0c70f17aa /sys/dev/mii/brgphyreg.h | |
parent | a073ff8672ddffa6502e583bf162b12e84154e98 (diff) | |
download | FreeBSD-src-618942d5c6f6067e982237c33ae8f3c685cbfb8f.zip FreeBSD-src-618942d5c6f6067e982237c33ae8f3c685cbfb8f.tar.gz |
Add support for the BCM5401 and BCM5411 10/100/1000Mbps copper gigE PHYs.
This basically updates the brgphy driver to support 10/100 modes in
addition to 1000Mbps modes.
Diffstat (limited to 'sys/dev/mii/brgphyreg.h')
-rw-r--r-- | sys/dev/mii/brgphyreg.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/mii/brgphyreg.h b/sys/dev/mii/brgphyreg.h index ce289cd..f86f2ce 100644 --- a/sys/dev/mii/brgphyreg.h +++ b/sys/dev/mii/brgphyreg.h @@ -68,14 +68,14 @@ #define BRGPHY_MII_ANAR 0x04 #define BRGPHY_ANAR_NP 0x8000 /* Next page */ #define BRGPHY_ANAR_RF 0x2000 /* Remote fault */ -#define BRGPHY_ANAR_ASP 0x0800 /* Asymetric Pause */ +#define BRGPHY_ANAR_ASP 0x0800 /* Asymmetric Pause */ #define BRGPHY_ANAR_PC 0x0400 /* Pause capable */ #define BRGPHY_ANAR_SEL 0x001F /* selector field, 00001=Ethernet */ #define BRGPHY_MII_ANLPAR 0x05 #define BRGPHY_ANLPAR_NP 0x8000 /* Next page */ #define BRGPHY_ANLPAR_RF 0x2000 /* Remote fault */ -#define BRGPHY_ANLPAR_ASP 0x0800 /* Asymetric Pause */ +#define BRGPHY_ANLPAR_ASP 0x0800 /* Asymmetric Pause */ #define BRGPHY_ANLPAR_PC 0x0400 /* Pause capable */ #define BRGPHY_ANLPAR_SEL 0x001F /* selector field, 00001=Ethernet */ @@ -183,6 +183,11 @@ #define BRGPHY_RES_1000FD 0x0700 /* 1000baseT full duplex */ #define BRGPHY_RES_1000HD 0x0600 /* 1000baseT half duplex */ +#define BRGPHY_RES_100FD 0x0500 /* 100baseT full duplex */ +#define BRGPHY_RES_100T4 0x0400 /* 100baseT4 */ +#define BRGPHY_RES_100HD 0x0300 /* 100baseT half duplex */ +#define BRGPHY_RES_10HD 0x0200 /* 10baseT full duplex */ +#define BRGPHY_RES_10FD 0x0100 /* 10baseT half duplex */ #define BRGPHY_MII_ISR 0x1A /* interrupt status */ #define BRGPHY_ISR_PSERR 0x4000 /* Pair swap error */ |