Loading...
Searching...
No Matches
14#define MII_PHYSID1 0x02
15#define MII_PHYSID2 0x03
16#define MII_ADVERTISE 0x04
18#define MII_EXPANSION 0x06
19#define MII_CTRL1000 0x09
20#define MII_STAT1000 0x0a
21#define MII_MMD_CTRL 0x0d
22#define MII_MMD_DATA 0x0e
23#define MII_ESTATUS 0x0f
24#define MII_DCOUNTER 0x12
25#define MII_FCSCOUNTER 0x13
26#define MII_NWAYTEST 0x14
27#define MII_RERRCOUNTER 0x15
28#define MII_SREVISION 0x16
30#define MII_LBRERROR 0x18
31#define MII_PHYADDR 0x19
33#define MII_TPISTATUS 0x1b
34#define MII_NCONFIG 0x1c
37#define BMCR_RESV 0x003f
38#define BMCR_SPEED1000 0x0040
39#define BMCR_CTST 0x0080
40#define BMCR_FULLDPLX 0x0100
41#define BMCR_ANRESTART 0x0200
42#define BMCR_ISOLATE 0x0400
43#define BMCR_PDOWN 0x0800
44#define BMCR_ANENABLE 0x1000
45#define BMCR_SPEED100 0x2000
46#define BMCR_LOOPBACK 0x4000
47#define BMCR_RESET 0x8000
50#define BMSR_ERCAP 0x0001
51#define BMSR_JCD 0x0002
52#define BMSR_LSTATUS 0x0004
53#define BMSR_ANEGCAPABLE 0x0008
54#define BMSR_RFAULT 0x0010
55#define BMSR_ANEGCOMPLETE 0x0020
56#define BMSR_RESV 0x00c0
57#define BMSR_ESTATEN 0x0100
58#define BMSR_100HALF2 0x0200
59#define BMSR_100FULL2 0x0400
60#define BMSR_10HALF 0x0800
61#define BMSR_10FULL 0x1000
62#define BMSR_100HALF 0x2000
63#define BMSR_100FULL 0x4000
64#define BMSR_100BASE4 0x8000
67#define ADVERTISE_SLCT 0x001f
68#define ADVERTISE_CSMA 0x0001
69#define ADVERTISE_10HALF 0x0020
70#define ADVERTISE_1000XFULL 0x0020
71#define ADVERTISE_10FULL 0x0040
72#define ADVERTISE_1000XHALF 0x0040
73#define ADVERTISE_100HALF 0x0080
74#define ADVERTISE_1000XPAUSE 0x0080
75#define ADVERTISE_100FULL 0x0100
76#define ADVERTISE_1000XPSE_ASYM 0x0100
77#define ADVERTISE_100BASE4 0x0200
78#define ADVERTISE_PAUSE_CAP 0x0400
79#define ADVERTISE_PAUSE_ASYM 0x0800
80#define ADVERTISE_RESV 0x1000
81#define ADVERTISE_RFAULT 0x2000
82#define ADVERTISE_LPACK 0x4000
83#define ADVERTISE_NPAGE 0x8000
85#define ADVERTISE_FULL (ADVERTISE_100FULL | ADVERTISE_10FULL | ADVERTISE_CSMA)
86#define ADVERTISE_ALL (ADVERTISE_10HALF | ADVERTISE_10FULL | ADVERTISE_100HALF | ADVERTISE_100FULL)
89#define LPA_SLCT 0x001f
90#define LPA_10HALF 0x0020
91#define LPA_1000XFULL 0x0020
92#define LPA_10FULL 0x0040
93#define LPA_1000XHALF 0x0040
94#define LPA_100HALF 0x0080
95#define LPA_1000XPAUSE 0x0080
96#define LPA_100FULL 0x0100
97#define LPA_1000XPAUSE_ASYM 0x0100
98#define LPA_100BASE4 0x0200
99#define LPA_PAUSE_CAP 0x0400
100#define LPA_PAUSE_ASYM 0x0800
101#define LPA_RESV 0x1000
102#define LPA_RFAULT 0x2000
103#define LPA_LPACK 0x4000
104#define LPA_NPAGE 0x8000
106#define LPA_DUPLEX (LPA_10FULL | LPA_100FULL)
107#define LPA_100 (LPA_100FULL | LPA_100HALF | LPA_100BASE4)
109#define SLCT_IEEE802_3 0x0001