1$OpenBSD: miidevs,v 1.116 2011/01/21 09:46:13 kevlo Exp $ 2/* $NetBSD: miidevs,v 1.3 1998/11/05 03:43:43 thorpej Exp $ */ 3 4/*- 5 * Copyright (c) 1998 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation 9 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 10 * NASA Ames Research Center. 11 * 12 * Redistribution and use in source and binary forms, with or without 13 * modification, are permitted provided that the following conditions 14 * are met: 15 * 1. Redistributions of source code must retain the above copyright 16 * notice, this list of conditions and the following disclaimer. 17 * 2. Redistributions in binary form must reproduce the above copyright 18 * notice, this list of conditions and the following disclaimer in the 19 * documentation and/or other materials provided with the distribution. 20 * 21 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 22 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 23 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 25 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31 * POSSIBILITY OF SUCH DAMAGE. 32 */ 33 34/* 35 * List of known MII OUIs 36 */ 37oui AMD 0x00001a AMD 38oui REALTEK 0x000020 Realtek 39oui VITESSE 0x0001c1 Vitesse 40oui CICADA 0x0003f1 Cicada 41oui CENIX 0x000749 CENiX 42oui BROADCOM2 0x000af7 Broadcom 43oui RDC 0x000bb4 RDC Semi. 44oui ASIX 0x000ec6 ASIX 45oui BROADCOM 0x001018 Broadcom 46oui 3COM 0x00105a 3com 47oui ALTIMA 0x0010a9 Altima 48oui ENABLESEMI 0x0010dd Enable Semi. 49oui ATHEROS 0x001374 Atheros 50oui JMICRON 0x001b8c JMicron 51oui LEVEL1 0x00207b Level 1 52oui VIA 0x004063 VIA Networking 53oui MARVELL 0x005043 Marvell 54oui LUCENT 0x00601d Lucent 55oui QUALITYSEMI 0x006051 Quality Semi. 56oui DAVICOM 0x00606e Davicom 57oui SMSC 0x00800f Standard Microsystems 58oui ICPLUS 0x0090c3 IC Plus 59oui TOPICSEMI 0x0090c3 Topic Semi. 60oui AGERE 0x00a0bc Agere 61oui ICS 0x00a0be Integrated Circuit Systems 62oui SEEQ 0x00a07d Seeq 63oui INTEL 0x00aa00 Intel 64oui TDK 0x00c039 TDK 65oui MYSON 0x00c0b4 Myson 66oui PMCSIERRA 0x00e004 PMC-Sierra 67oui SIS 0x00e006 Silicon Integrated Systems 68oui REALTEK2 0x00e04c Realtek 69oui JATO 0x00e083 Jato Technologies 70oui XAQTI 0x00e0ae XaQti 71oui PLESSEYSEMI 0x046b40 Plessey Semi. 72oui NATSEMI 0x080017 National Semi. 73oui TI 0x080028 Texas Instruments 74 75/* in the 79c873, AMD uses another OUI (which matches Davicom!) */ 76oui xxALTIMA 0x000895 Altima 77oui xxAMD 0x00606e AMD 78oui xxCICADA 0x00c08f Cicada (alt) 79oui xxINTEL 0x00f800 Intel (alt) 80 81/* some vendors have the bits swapped within bytes 82 (ie, ordered as on the wire) */ 83oui xxICS 0x00057d Integrated Circuit Systems 84oui xxSEEQ 0x0005be Seeq 85oui xxSIS 0x000760 Silicon Integrated Systems 86oui xxBROADCOM 0x000818 Broadcom 87oui xxTI 0x100014 Texas Instruments 88oui xxXAQTI 0x350700 XaQti 89 90/* Level 1 is completely different - from right to left. 91 (Two bits get lost in the third OUI byte.) */ 92oui xxLEVEL1a 0x0004de Level 1 93oui xxLEVEL1 0x1e0400 Level 1 94 95/* Don't know what's going on here. */ 96oui xxBROADCOM2 0x0050ef Broadcom 97oui xxBROADCOM3 0x00d897 Broadcom 98oui xxDAVICOM 0x006040 Davicom 99 100/* This is the OUI of the gigE PHY in the RealTek 8169S/8110S chips */ 101oui xxREALTEK 0x000732 Realtek 102 103/* Contrived vendor for dcphy */ 104oui xxDEC 0x040440 Digital Clone 105 106oui xxMARVELL 0x000ac2 Marvell 107 108/* 109 * List of known models. Grouped by oui. 110 */ 111 112/* AMD PHYs */ 113model xxAMD 79C873 0x0000 Am79C873 10/100 PHY 114model AMD 79C875phy 0x0014 Am79C875 quad PHY 115model AMD 79C873phy 0x0036 Am79C873 internal PHY 116 117/* Agere PHYs */ 118model AGERE ET1011 0x0004 ET1011 10/100/1000baseT PHY 119 120/* Atheros PHYs */ 121model ATHEROS F1 0x0001 F1 10/100/1000 PHY 122model ATHEROS F2 0x0002 F2 10/100 PHY 123model ATHEROS F1_7 0x0007 F1 10/100/1000 PHY 124 125/* Altima PHYs */ 126model xxALTIMA AC_UNKNOWN 0x0001 AC_UNKNOWN 10/100 PHY 127model xxALTIMA AC101L 0x0012 AC101L 10/100 PHY 128model xxALTIMA AC101 0x0021 AC101 10/100 PHY 129 130/* Broadcom PHYs */ 131model xxBROADCOM BCM5400 0x0004 BCM5400 1000baseT PHY 132model xxBROADCOM BCM5401 0x0005 BCM5401 10/100/1000baseT PHY 133model xxBROADCOM BCM5411 0x0007 BCM5411 10/100/1000baseT PHY 134model xxBROADCOM BCM5464 0x000b BCM5464 10/100/1000baseT PHY 135model xxBROADCOM BCM5461 0x000c BCM5461 10/100/1000baseT PHY 136model xxBROADCOM BCM5462 0x000d BCM5462 10/100/1000baseT PHY 137model xxBROADCOM BCM5421 0x000e BCM5421 10/100/1000baseT PHY 138model xxBROADCOM BCM5752 0x0010 BCM5752 10/100/1000baseT PHY 139model xxBROADCOM BCM5701 0x0011 BCM5701 10/100/1000baseT PHY 140model xxBROADCOM BCM5706 0x0015 BCM5706 10/100/1000baseT/SX PHY 141model xxBROADCOM BCM5703 0x0016 BCM5703 10/100/1000baseT PHY 142model xxBROADCOM BCM5750 0x0018 BCM5750 10/100/1000baseT PHY 143model xxBROADCOM BCM5704 0x0019 BCM5704 10/100/1000baseT PHY 144model xxBROADCOM BCM5705 0x001a BCM5705 10/100/1000baseT PHY 145model xxBROADCOM BCM54K2 0x002e BCM54K2 10/100/1000baseT PHY 146model xxBROADCOM BCM5714 0x0034 BCM5714 10/100/1000baseT/SX PHY 147model xxBROADCOM BCM5780 0x0035 BCM5780 10/100/1000baseT/SX PHY 148model xxBROADCOM BCM5708C 0x0036 BCM5708C 10/100/1000baseT PHY 149model xxBROADCOM2 BCM54XX 0x0007 BCM54XX 10/100/1000baseT PHY 150model xxBROADCOM2 BCM5481 0x000a BCM5481 10/100/1000baseT PHY 151model xxBROADCOM2 BCM5482 0x000b BCM5482 10/100/1000baseT PHY 152model xxBROADCOM2 BCM5755 0x000c BCM5755 10/100/1000baseT PHY 153model xxBROADCOM2 BCM5787 0x000e BCM5787 10/100/1000baseT PHY 154model xxBROADCOM2 BCM5708S 0x0015 BCM5708S 1000/2500baseSX PHY 155model xxBROADCOM2 BCM5709CAX 0x002c BCM5709CAX 10/100/1000baseT PHY 156model xxBROADCOM2 BCM5722 0x002d BCM5722 10/100/1000baseT PHY 157model xxBROADCOM2 BCM5784 0x003a BCM5784 10/100/1000baseT PHY 158model xxBROADCOM2 BCM5709C 0x003c BCM5709 10/100/1000baseT PHY 159model xxBROADCOM2 BCM5761 0x003d BCM5761 10/100/1000baseT PHY 160model xxBROADCOM2 BCM5709S 0x003f BCM5709S 1000/2500baseSX PHY 161model xxBROADCOM3 BCM57780 0x0019 BCM57780 10/100/1000baseT PHY 162model BROADCOM BCM5400 0x0004 BCM5400 1000baseT PHY 163model BROADCOM BCM5401 0x0005 BCM5401 1000baseT PHY 164model BROADCOM BCM5411 0x0007 BCM5411 1000baseT PHY 165model BROADCOM 3C905B 0x0012 3C905B internal PHY 166model BROADCOM 3C905C 0x0017 3C905C internal PHY 167model BROADCOM BCM5221 0x001e BCM5221 100baseTX PHY 168model BROADCOM BCM5201 0x0021 BCM5201 10/100 PHY 169model BROADCOM BCM5214 0x0028 BCM5214 Quad 10/100 PHY 170model BROADCOM BCM5222 0x0032 BCM5222 Dual 10/100 PHY 171model BROADCOM BCM5220 0x0033 BCM5220 10/100 PHY 172model BROADCOM BCM4401 0x0036 BCM4401 10/100baseTX PHY 173model BROADCOM2 BCM5906 0x0004 BCM5906 10/100baseTX PHY 174 175/* Cicada PHYs (now owned by Vitesse) */ 176model xxCICADA CS8201B 0x0021 CS8201 10/100/1000TX PHY 177model CICADA CS8201 0x0001 CS8201 10/100/1000TX PHY 178model CICADA CS8204 0x0004 CS8204 10/100/1000TX PHY 179model CICADA VSC8211 0x000b VSC8211 10/100/1000 PHY 180model CICADA CS8201A 0x0020 CS8201 10/100/1000TX PHY 181model CICADA CS8201B 0x0021 CS8201 10/100/1000TX PHY 182model CICADA CS8244 0x002c CS8244 10/100/1000TX PHY 183 184/* Davicom PHYs */ 185model xxDAVICOM DM9101 0x0000 DM9101 10/100 PHY 186model DAVICOM DM9102 0x0004 DM9102 10/100 PHY 187model DAVICOM DM9601 0x000c DM9601 10/100 PHY 188 189/* Contrived vendor/model for dcphy */ 190model xxDEC xxDC 0x0001 DC 191 192/* Enable Semi. PHYs (Agere) */ 193model ENABLESEMI LU3X31FT 0x0001 LU3X31FT 194model ENABLESEMI LU3X31T2 0x0002 LU3X31T2 195model ENABLESEMI 88E1000S 0x0004 88E1000S 196model ENABLESEMI 88E1000 0x0005 88E1000 197 198/* IC Plus PHYs */ 199model ICPLUS IP100 0x0004 IP100 10/100 PHY 200model ICPLUS IP101 0x0005 IP101 10/100 PHY 201model ICPLUS IP1000A 0x0008 IP1000A 10/100/1000 PHY 202model ICPLUS IP1001 0x0019 IP1001 10/100/1000 PHY 203 204/* Integrated Circuit Systems PHYs */ 205model xxICS 1890 0x0002 ICS1890 10/100 PHY 206model xxICS 1892 0x0003 ICS1892 10/100 PHY 207model xxICS 1893 0x0004 ICS1893 10/100 PHY 208 209/* Intel PHYs */ 210model xxINTEL I82553 0x0000 i82553 10/100 PHY 211model INTEL I82555 0x0015 i82555 10/100 PHY 212model INTEL I82562G 0x0031 i82562G 10/100 PHY 213model INTEL I82562EM 0x0032 i82562EM 10/100 PHY 214model INTEL I82562ET 0x0033 i82562ET 10/100 PHY 215model INTEL I82553 0x0035 i82553 10/100 PHY 216 217/* Jato Technologies PHYs */ 218model JATO BASEX 0x0000 Jato 1000baseX PHY 219 220/* JMicron PHYs */ 221model JMICRON JMP211 0x0021 JMP211 10/100/1000 PHY 222model JMICRON JMP202 0x0022 JMP202 10/100 PHY 223 224/* Level 1 PHYs */ 225model xxLEVEL1 LXT970 0x0000 LXT970 10/100 PHY 226model xxLEVEL1a LXT971 0x000e LXT971 10/100 PHY 227model LEVEL1 LXT1000_OLD 0x0003 LXT1000 10/100/1000 PHY 228model LEVEL1 LXT1000 0x000c LXT1000 10/100/1000 PHY 229 230/* Lucent PHYs */ 231model LUCENT LU6612 0x000c LU6612 10/100 PHY 232model LUCENT LU3X51FT 0x0033 LU3X51FT 10/100 PHY 233model LUCENT LU3X54FT 0x0036 LU3X54FT 10/100 PHY 234 235/* Marvell PHYs */ 236model xxMARVELL E1000_5 0x0002 88E1000 5 Gigabit PHY 237model xxMARVELL E1000_6 0x0003 88E1000 6 Gigabit PHY 238model xxMARVELL E1000_7 0x0005 88E1000 7 Gigabit PHY 239model xxMARVELL E1111 0x000c 88E1111 Gigabit PHY 240model MARVELL E1000_1 0x0000 88E1000 1 Gigabit PHY 241model MARVELL E1011 0x0002 88E1011 Gigabit PHY 242model MARVELL E1000_2 0x0003 88E1000 2 Gigabit PHY 243model MARVELL E1000S 0x0004 88E1000S Gigabit PHY 244model MARVELL E1000_3 0x0005 88E1000 3 Gigabit PHY 245model MARVELL E1000_4 0x0006 88E1000 4 Gigabit PHY 246model MARVELL E3082 0x0008 88E3082 10/100 PHY 247model MARVELL E1112 0x0009 88E1112 Gigabit PHY 248model MARVELL E1149 0x000b 88E1149 Gigabit PHY 249model MARVELL E1111 0x000c 88E1111 Gigabit PHY 250model MARVELL E1116 0x0021 88E1116 Gigabit PHY 251model MARVELL E1118 0x0022 88E1118 Gigabit PHY 252model MARVELL E1116R 0x0024 88E1116R Gigabit PHY 253model MARVELL E3016 0x0026 88E3016 10/100 PHY 254model MARVELL PHYG65G 0x0027 PHYG65G Gigabit PHY 255 256/* Myson PHYs */ 257model MYSON MTD972 0x0000 MTD972 10/100 PHY 258 259/* National Semi. PHYs */ 260model NATSEMI DP83840 0x0000 DP83840 10/100 PHY 261model NATSEMI DP83843 0x0001 DP83843 10/100 PHY 262model NATSEMI DP83815 0x0002 DP83815 10/100 PHY 263model NATSEMI DP83847 0x0003 DP83847 10/100 PHY 264model NATSEMI DP83891 0x0005 DP83891 10/100/1000 PHY 265model NATSEMI DP83861 0x0006 DP83861 10/100/1000 PHY 266model NATSEMI DP83865 0x0007 DP83865 10/100/1000 PHY 267 268/* Plessey Semi. PHYs */ 269model PLESSEY NWK914 0x0000 NWK914 10/100 PHY 270 271/* Quality Semi. PHYs */ 272model QUALITYSEMI QS6612 0x0000 QS6612 10/100 PHY 273 274/* RDC Semi. PHYs */ 275model RDC R6040 0x0003 R6040 10/100 PHY 276 277/* Realtek PHYs */ 278model xxREALTEK RTL8169S 0x0011 RTL8169S/8110S PHY 279model REALTEK RTL8201L 0x0020 RTL8201L 10/100 PHY 280 281/* Seeq PHYs */ 282model xxSEEQ 80220 0x0003 80220 10/100 PHY 283model xxSEEQ 84220 0x0004 84220 10/100 PHY 284model xxSEEQ 80225 0x0008 80225 10/100 PHY 285 286/* Silicon Integrated Systems PHYs */ 287model xxSIS 900 0x0000 900 10/100 PHY 288 289/* Standard Microsystems PHYs */ 290model SMSC LAN83C185 0x000a LAN83C185 10/100 PHY 291 292/* Texas Instruments PHYs */ 293model xxTI TLAN10T 0x0001 ThunderLAN 10baseT PHY 294model xxTI 100VGPMI 0x0002 ThunderLAN 100VG-AnyLan PHY 295model xxTI TNETE2101 0x0003 TNETE2101 PHY 296 297/* TDK PHYs */ 298model TDK 78Q2120 0x0014 78Q2120 10/100 PHY 299model TDK 78Q2121 0x0015 78Q2121 100baseTX PHY 300 301/* VIA Networking PHYs */ 302model VIA VT6103 0x0032 VT6103 10/100 PHY 303model VIA VT6103_2 0x0034 VT6103 10/100 PHY 304 305/* Vitesse PHYs */ 306model VITESSE VSC8601 0x0002 VSC8601 10/100/1000 PHY 307 308/* XaQti PHYs */ 309model XAQTI XMACII 0x0000 XMAC II Gigabit PHY 310