miidevs revision 61907
150959Speter$FreeBSD: head/sys/dev/mii/miidevs 61907 2000-06-21 19:26:01Z semenu $ 250120Swpaul/*$NetBSD: miidevs,v 1.6 1999/05/14 11:37:30 drochner Exp $*/ 350120Swpaul 450120Swpaul/*- 550120Swpaul * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. 650120Swpaul * All rights reserved. 750120Swpaul * 850120Swpaul * This code is derived from software contributed to The NetBSD Foundation 950120Swpaul * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 1050120Swpaul * NASA Ames Research Center. 1150120Swpaul * 1250120Swpaul * Redistribution and use in source and binary forms, with or without 1350120Swpaul * modification, are permitted provided that the following conditions 1450120Swpaul * are met: 1550120Swpaul * 1. Redistributions of source code must retain the above copyright 1650120Swpaul * notice, this list of conditions and the following disclaimer. 1750120Swpaul * 2. Redistributions in binary form must reproduce the above copyright 1850120Swpaul * notice, this list of conditions and the following disclaimer in the 1950120Swpaul * documentation and/or other materials provided with the distribution. 2050120Swpaul * 3. All advertising materials mentioning features or use of this software 2150120Swpaul * must display the following acknowledgement: 2250120Swpaul * This product includes software developed by the NetBSD 2350120Swpaul * Foundation, Inc. and its contributors. 2450120Swpaul * 4. Neither the name of The NetBSD Foundation nor the names of its 2550120Swpaul * contributors may be used to endorse or promote products derived 2650120Swpaul * from this software without specific prior written permission. 2750120Swpaul * 2850120Swpaul * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 2950120Swpaul * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 3050120Swpaul * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 3150120Swpaul * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 3250120Swpaul * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 3350120Swpaul * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 3450120Swpaul * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 3550120Swpaul * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 3650120Swpaul * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 3750120Swpaul * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 3850120Swpaul * POSSIBILITY OF SUCH DAMAGE. 3950120Swpaul */ 4050120Swpaul 4150120Swpaul/* 4250120Swpaul * List of known MII OUIs. 4350120Swpaul * For a complete list see http://standards.ieee.org/regauth/oui/ 4450120Swpaul * 4550120Swpaul * XXX Vendors do obviously not agree how OUIs (18 bit) are mapped 4650120Swpaul * to the 16 bits available in the id registers. The MII_OUI() macro 4750120Swpaul * in "mii.h" reflects the most obvious way. If a vendor uses a 4850120Swpaul * different mapping, an "xx" prefixed OUI is defined here which is 4950120Swpaul * mangled accordingly to compensate. 5050120Swpaul */ 5150120Swpaul 5261907Ssemenuoui ALTIMA 0x0010a9 Altima Communications 5350120Swpauloui AMD 0x00001a Advanced Micro Devices 5450577Swpauloui BROADCOM 0x001018 Broadcom Corporation 5550120Swpauloui DAVICOM 0x00606e Davicom Semiconductor 5650120Swpauloui ICS 0x00a0be Integrated Circuit Systems 5750120Swpauloui INTEL 0x00aa00 Intel 5850120Swpauloui LEVEL1 0x00207b Level 1 5950120Swpauloui NATSEMI 0x080017 National Semiconductor 6050120Swpauloui QUALSEMI 0x006051 Quality Semiconductor 6150120Swpauloui SEEQ 0x00a07d Seeq 6250120Swpauloui SIS 0x00e006 Silicon Integrated Systems 6350120Swpauloui TI 0x080028 Texas Instruments 6459475Swpauloui XAQTI 0x00e0ae XaQti Corp. 6550120Swpaul 6650120Swpaul/* in the 79c873, AMD uses another OUI (which matches Davicom!) */ 6750120Swpauloui xxAMD 0x00606e Advanced Micro Devices 6850120Swpaul 6950120Swpaul/* some vendors have the bits swapped within bytes 7050120Swpaul (ie, ordered as on the wire) */ 7161907Ssemenuoui xxALTIMA 0x000895 Altima Communications 7259475Swpauloui xxBROADCOM 0x000818 Broadcom Corporation 7350120Swpauloui xxICS 0x00057d Integrated Circuit Systems 7450120Swpauloui xxSEEQ 0x0005be Seeq 7550120Swpauloui xxSIS 0x000760 Silicon Integrated Systems 7650120Swpauloui xxTI 0x100014 Texas Instruments 7759475Swpauloui xxXAQTI 0x350700 XaQti Corp. 7850120Swpaul 7950120Swpaul/* Level 1 is completely different - from right to left. 8050120Swpaul (Two bits get lost in the third OUI byte.) */ 8150120Swpauloui xxLEVEL1 0x1e0400 Level 1 8250120Swpaul 8350120Swpaul/* Don't know what's going on here. */ 8450120Swpauloui xxDAVICOM 0x006040 Davicom Semiconductor 8550120Swpaul 8650120Swpaul 8750120Swpaul/* 8850120Swpaul * List of known models. Grouped by oui. 8950120Swpaul */ 9050120Swpaul 9161907Ssemenu/* Altima Communications PHYs */ 9261907Ssemenumodel xxALTIMA AC101 0x0021 AC101 10/100 media interface 9361907Ssemenu 9450120Swpaul/* Advanced Micro Devices PHYs */ 9550120Swpaulmodel xxAMD 79C873 0x0000 Am79C873 10/100 media interface 9650120Swpaulmodel AMD 79c973phy 0x0036 Am79c973 internal PHY 9750120Swpaul 9850577Swpaul/* Broadcom Corp. PHYs. */ 9950577Swpaulmodel BROADCOM 3c905Cphy 0x0017 3c905C 10/100 internal PHY 10059475Swpaulmodel xxBROADCOM BCM5400 0x0004 Broadcom 1000baseTX PHY 10150577Swpaul 10250120Swpaul/* Davicom Semiconductor PHYs */ 10350120Swpaulmodel xxDAVICOM DM9101 0x0000 DM9101 10/100 media interface 10450120Swpaul 10550120Swpaul/* Integrated Circuit Systems PHYs */ 10650120Swpaulmodel xxICS 1890 0x0002 ICS1890 10/100 media interface 10750120Swpaul 10850120Swpaul/* Intel PHYs */ 10950120Swpaulmodel INTEL I82555 0x0015 i82555 10/100 media interface 11050120Swpaul 11150120Swpaul/* Level 1 PHYs */ 11250120Swpaulmodel xxLEVEL1 LXT970 0x0000 LXT970 10/100 media interface 11350120Swpaul 11450120Swpaul/* National Semiconductor PHYs */ 11550120Swpaulmodel NATSEMI DP83840 0x0000 DP83840 10/100 media interface 11650120Swpaulmodel NATSEMI DP83843 0x0001 DP83843 10/100 media interface 11750120Swpaul 11850120Swpaul/* Quality Semiconductor PHYs */ 11950120Swpaulmodel QUALSEMI QS6612 0x0000 QS6612 10/100 media interface 12050120Swpaul 12150120Swpaul/* Seeq PHYs */ 12250120Swpaulmodel xxSEEQ 80220 0x0003 Seeq 80220 10/100 media interface 12350120Swpaulmodel xxSEEQ 84220 0x0004 Seeq 84220 10/100 media interface 12450120Swpaul 12550120Swpaul/* Silicon Integrated Systems PHYs */ 12650120Swpaulmodel xxSIS 900 0x0000 SiS 900 10/100 media interface 12750120Swpaul 12850120Swpaul/* Texas Instruments PHYs */ 12950120Swpaulmodel xxTI TLAN10T 0x0001 ThunderLAN 10baseT media interface 13050120Swpaulmodel xxTI 100VGPMI 0x0002 ThunderLAN 100VG-AnyLan media interface 13159475Swpaul 13259475Swpaul/* XaQti Corp. PHYs. */ 13359475Swpaulmodel XAQTI XMACII 0x0000 XaQti Corp. XMAC II gigabit interface 134