Go to the documentation of this file. 34 #define MII_PHYSID1 0x02 35 #define MII_PHYSID2 0x03 36 #define MII_ADVERTISE 0x04 38 #define MII_EXPANSION 0x06 39 #define MII_ANNPTR 0x07 40 #define MII_CTRL1000 0x09 41 #define MII_STAT1000 0x0a 42 #define MII_ESTATUS 0x0f 43 #define MII_PHYSTS 0x10 45 #define MII_DCOUNTER 0x12 46 #define MII_FCSCOUNTER 0x13 47 #define MII_NWAYTEST 0x14 48 #define MII_RERRCOUNTER 0x15 49 #define MII_SREVISION 0x16 50 #define MII_RESV1 0x17 51 #define MII_LBRERROR 0x18 52 #define MII_PHYADDR 0x19 53 #define MII_RESV2 0x1a 54 #define MII_TPISTATUS 0x1b 55 #define MII_NCONFIG 0x1c 62 #define BMCR_RESV 0x007f 63 #define BMCR_CTST 0x0080 64 #define BMCR_FULLDPLX 0x0100 65 #define BMCR_ANRESTART 0x0200 66 #define BMCR_ISOLATE 0x0400 67 #define BMCR_PDOWN 0x0800 68 #define BMCR_ANENABLE 0x1000 69 #define BMCR_SPEED100 0x2000 70 #define BMCR_LOOPBACK 0x4000 71 #define BMCR_RESET 0x8000 78 #define BMSR_ERCAP 0x0001 79 #define BMSR_JCD 0x0002 80 #define BMSR_LSTATUS 0x0004 81 #define BMSR_ANEGCAPABLE 0x0008 82 #define BMSR_RFAULT 0x0010 83 #define BMSR_ANEGCOMPLETE 0x0020 84 #define BMSR_MFPRESUPPCAP 0x0040 85 #define BMSR_RESV 0x0780 86 #define BMSR_10HALF 0x0800 87 #define BMSR_10FULL 0x1000 88 #define BMSR_100HALF 0x2000 89 #define BMSR_100FULL 0x4000 90 #define BMSR_100BASE4 0x8000 97 #define ADVERTISE_SLCT 0x001f 98 #define ADVERTISE_CSMA 0x0001 99 #define ADVERTISE_10HALF 0x0020 100 #define ADVERTISE_10FULL 0x0040 101 #define ADVERTISE_100HALF 0x0080 102 #define ADVERTISE_100FULL 0x0100 103 #define ADVERTISE_100BASE4 0x0200 104 #define ADVERTISE_PAUSE_CAP 0x0400 105 #define ADVERTISE_PAUSE_ASYM 0x0800 106 #define ADVERTISE_RESV 0x1000 107 #define ADVERTISE_RFAULT 0x2000 108 #define ADVERTISE_LPACK 0x4000 109 #define ADVERTISE_NPAGE 0x8000 111 #define ADVERTISE_FULL (ADVERTISE_100FULL | ADVERTISE_10FULL | \ 113 #define ADVERTISE_ALL (ADVERTISE_10HALF | ADVERTISE_10FULL | \ 114 ADVERTISE_100HALF | ADVERTISE_100FULL) 121 #define LPA_SLCT 0x001f 122 #define LPA_10HALF 0x0020 123 #define LPA_10FULL 0x0040 124 #define LPA_100HALF 0x0080 125 #define LPA_100FULL 0x0100 126 #define LPA_100BASE4 0x0200 127 #define LPA_PAUSE_CAP 0x0400 128 #define LPA_PAUSE_ASYM 0x0800 129 #define LPA_RESV 0x1000 130 #define LPA_RFAULT 0x2000 131 #define LPA_LPACK 0x4000 132 #define LPA_NPAGE 0x8000 134 #define LPA_DUPLEX (LPA_10FULL | LPA_100FULL) 135 #define LPA_100 (LPA_100FULL | LPA_100HALF | LPA_100BASE4) 142 #define EXPANSION_NWAY 0x0001 143 #define EXPANSION_LCWP 0x0002 144 #define EXPANSION_ENABLENPAGE 0x0004 145 #define EXPANSION_NPCAPABLE 0x0008 146 #define EXPANSION_MFAULTS 0x0010 147 #define EXPANSION_RESV 0xffe0 154 #define NWAYTEST_RESV1 0x00ff 155 #define NWAYTEST_LOOPBACK 0x0100 156 #define NWAYTEST_RESV2 0xfe00 163 #define MII_DM9161_ID 0x0181b8a0 164 #define MII_AM79C875_ID 0x00225540 165 #define MII_KSZ8081_ID 0x00221560 166 #define MII_KS8721_ID 0x00221610 167 #define MII_STE101P_ID 0x00061C50 168 #define MII_DP83848I_ID 0x20005C90 169 #define MII_LAN8710A_ID 0x0007C0F1 170 #define MII_LAN8720_ID 0x0007C0F0 171 #define MII_LAN8742A_ID 0x0007C130