miidevs revision 1.7
11.7Ssoren$NetBSD: miidevs,v 1.7 1999/09/04 23:58:55 soren Exp $ 21.1Sthorpej 31.1Sthorpej/*- 41.5Sthorpej * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. 51.1Sthorpej * All rights reserved. 61.1Sthorpej * 71.1Sthorpej * This code is derived from software contributed to The NetBSD Foundation 81.1Sthorpej * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 91.1Sthorpej * NASA Ames Research Center. 101.1Sthorpej * 111.1Sthorpej * Redistribution and use in source and binary forms, with or without 121.1Sthorpej * modification, are permitted provided that the following conditions 131.1Sthorpej * are met: 141.1Sthorpej * 1. Redistributions of source code must retain the above copyright 151.1Sthorpej * notice, this list of conditions and the following disclaimer. 161.1Sthorpej * 2. Redistributions in binary form must reproduce the above copyright 171.1Sthorpej * notice, this list of conditions and the following disclaimer in the 181.1Sthorpej * documentation and/or other materials provided with the distribution. 191.1Sthorpej * 3. All advertising materials mentioning features or use of this software 201.1Sthorpej * must display the following acknowledgement: 211.1Sthorpej * This product includes software developed by the NetBSD 221.1Sthorpej * Foundation, Inc. and its contributors. 231.1Sthorpej * 4. Neither the name of The NetBSD Foundation nor the names of its 241.1Sthorpej * contributors may be used to endorse or promote products derived 251.1Sthorpej * from this software without specific prior written permission. 261.1Sthorpej * 271.1Sthorpej * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 281.1Sthorpej * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 291.1Sthorpej * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 301.1Sthorpej * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 311.1Sthorpej * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 321.1Sthorpej * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 331.1Sthorpej * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 341.1Sthorpej * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 351.1Sthorpej * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 361.1Sthorpej * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 371.1Sthorpej * POSSIBILITY OF SUCH DAMAGE. 381.1Sthorpej */ 391.1Sthorpej 401.1Sthorpej/* 411.6Sdrochner * List of known MII OUIs. 421.6Sdrochner * For a complete list see http://standards.ieee.org/regauth/oui/ 431.6Sdrochner * 441.6Sdrochner * XXX Vendors do obviously not agree how OUIs (18 bit) are mapped 451.6Sdrochner * to the 16 bits available in the id registers. The MII_OUI() macro 461.6Sdrochner * in "mii.h" reflects the most obvious way. If a vendor uses a 471.6Sdrochner * different mapping, an "xx" prefixed OUI is defined here which is 481.6Sdrochner * mangled accordingly to compensate. 491.1Sthorpej */ 501.1Sthorpej 511.6Sdrochneroui AMD 0x00001a Advanced Micro Devices 521.6Sdrochneroui DAVICOM 0x00606e Davicom Semiconductor 531.6Sdrochneroui ICS 0x00a0be Integrated Circuit Systems 541.1Sthorpejoui INTEL 0x00aa00 Intel 551.6Sdrochneroui LEVEL1 0x00207b Level 1 561.1Sthorpejoui NATSEMI 0x080017 National Semiconductor 571.1Sthorpejoui QUALSEMI 0x006051 Quality Semiconductor 581.6Sdrochneroui SEEQ 0x00a07d Seeq 591.6Sdrochneroui SIS 0x00e006 Silicon Integrated Systems 601.6Sdrochneroui TI 0x080028 Texas Instruments 611.7Ssorenoui TSC 0x00c039 TDK Semiconductor 621.6Sdrochner 631.6Sdrochner/* in the 79c873, AMD uses another OUI (which matches Davicom!) */ 641.6Sdrochneroui xxAMD 0x00606e Advanced Micro Devices 651.6Sdrochner 661.7Ssoren/* Some Intel 82553's use an alternative OUI. */ 671.7Ssorenoui xxINTEL 0x00f800 Intel 681.7Ssoren 691.6Sdrochner/* some vendors have the bits swapped within bytes 701.6Sdrochner (ie, ordered as on the wire) */ 711.6Sdrochneroui xxICS 0x00057d Integrated Circuit Systems 721.6Sdrochneroui xxSEEQ 0x0005be Seeq 731.6Sdrochneroui xxSIS 0x000760 Silicon Integrated Systems 741.6Sdrochneroui xxTI 0x100014 Texas Instruments 751.6Sdrochner 761.6Sdrochner/* Level 1 is completely different - from right to left. 771.6Sdrochner (Two bits get lost in the third OUI byte.) */ 781.6Sdrochneroui xxLEVEL1 0x1e0400 Level 1 791.6Sdrochner 801.6Sdrochner/* Don't know what's going on here. */ 811.6Sdrochneroui xxDAVICOM 0x006040 Davicom Semiconductor 821.6Sdrochner 831.1Sthorpej 841.1Sthorpej/* 851.1Sthorpej * List of known models. Grouped by oui. 861.1Sthorpej */ 871.3Sthorpej 881.3Sthorpej/* Advanced Micro Devices PHYs */ 891.6Sdrochnermodel xxAMD 79C873 0x0000 Am79C873 10/100 media interface 901.6Sdrochnermodel AMD 79c973phy 0x0036 Am79c973 internal PHY 911.4Sthorpej 921.4Sthorpej/* Davicom Semiconductor PHYs */ 931.6Sdrochnermodel xxDAVICOM DM9101 0x0000 DM9101 10/100 media interface 941.1Sthorpej 951.1Sthorpej/* Integrated Circuit Systems PHYs */ 961.6Sdrochnermodel xxICS 1890 0x0002 ICS1890 10/100 media interface 971.1Sthorpej 981.1Sthorpej/* Intel PHYs */ 991.7Ssorenmodel xxINTEL I82553 0x0000 i82553 10/100 media interface 1001.1Sthorpejmodel INTEL I82555 0x0015 i82555 10/100 media interface 1011.7Ssorenmodel INTEL I82553 0x0035 i82553 10/100 media interface 1021.1Sthorpej 1031.1Sthorpej/* Level 1 PHYs */ 1041.6Sdrochnermodel xxLEVEL1 LXT970 0x0000 LXT970 10/100 media interface 1051.1Sthorpej 1061.1Sthorpej/* National Semiconductor PHYs */ 1071.1Sthorpejmodel NATSEMI DP83840 0x0000 DP83840 10/100 media interface 1081.1Sthorpejmodel NATSEMI DP83843 0x0001 DP83843 10/100 media interface 1091.1Sthorpej 1101.1Sthorpej/* Quality Semiconductor PHYs */ 1111.1Sthorpejmodel QUALSEMI QS6612 0x0000 QS6612 10/100 media interface 1121.1Sthorpej 1131.1Sthorpej/* Seeq PHYs */ 1141.6Sdrochnermodel xxSEEQ 80220 0x0003 Seeq 80220 10/100 media interface 1151.6Sdrochnermodel xxSEEQ 84220 0x0004 Seeq 84220 10/100 media interface 1161.5Sthorpej 1171.5Sthorpej/* Silicon Integrated Systems PHYs */ 1181.6Sdrochnermodel xxSIS 900 0x0000 SiS 900 10/100 media interface 1191.1Sthorpej 1201.1Sthorpej/* Texas Instruments PHYs */ 1211.6Sdrochnermodel xxTI TLAN10T 0x0001 ThunderLAN 10baseT media interface 1221.6Sdrochnermodel xxTI 100VGPMI 0x0002 ThunderLAN 100VG-AnyLan media interface 1231.7Ssoren 1241.7Ssoren/* TDK Semiconductor PHYs */ 1251.7Ssorenmodel TSC 78Q2120 0x0014 78Q2120 10/100 media interface 126