miidevs revision 135048
190792Sgshapiro$FreeBSD: head/sys/dev/mii/miidevs 135048 2004-09-10 20:57:46Z wpaul $
2261363Sgshapiro/*$NetBSD: miidevs,v 1.6 1999/05/14 11:37:30 drochner Exp $*/
390792Sgshapiro
490792Sgshapiro/*-
590792Sgshapiro * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
690792Sgshapiro * All rights reserved.
790792Sgshapiro *
890792Sgshapiro * This code is derived from software contributed to The NetBSD Foundation
990792Sgshapiro * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
1090792Sgshapiro * NASA Ames Research Center.
1190792Sgshapiro *
1290792Sgshapiro * Redistribution and use in source and binary forms, with or without
1390792Sgshapiro * modification, are permitted provided that the following conditions
1490792Sgshapiro * are met:
1590792Sgshapiro * 1. Redistributions of source code must retain the above copyright
1690792Sgshapiro *    notice, this list of conditions and the following disclaimer.
1790792Sgshapiro * 2. Redistributions in binary form must reproduce the above copyright
1890792Sgshapiro *    notice, this list of conditions and the following disclaimer in the
1990792Sgshapiro *    documentation and/or other materials provided with the distribution.
2090792Sgshapiro * 3. All advertising materials mentioning features or use of this software
2190792Sgshapiro *    must display the following acknowledgement:
2290792Sgshapiro *	This product includes software developed by the NetBSD
2390792Sgshapiro *	Foundation, Inc. and its contributors.
2490792Sgshapiro * 4. Neither the name of The NetBSD Foundation nor the names of its
25266692Sgshapiro *    contributors may be used to endorse or promote products derived
2690792Sgshapiro *    from this software without specific prior written permission.
2790792Sgshapiro *
2890792Sgshapiro * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
2990792Sgshapiro * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
3090792Sgshapiro * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3190792Sgshapiro * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
3290792Sgshapiro * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
3390792Sgshapiro * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
3490792Sgshapiro * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
3590792Sgshapiro * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
3690792Sgshapiro * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
3790792Sgshapiro * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3890792Sgshapiro * POSSIBILITY OF SUCH DAMAGE.
3990792Sgshapiro */
4090792Sgshapiro
4190792Sgshapiro/*
4290792Sgshapiro * List of known MII OUIs.
4390792Sgshapiro * For a complete list see http://standards.ieee.org/regauth/oui/
4490792Sgshapiro *
4590792Sgshapiro * XXX Vendors do obviously not agree how OUIs (18 bit) are mapped
4690792Sgshapiro * to the 16 bits available in the id registers. The MII_OUI() macro
4790792Sgshapiro * in "mii.h" reflects the most obvious way. If a vendor uses a
4890792Sgshapiro * different mapping, an "xx" prefixed OUI is defined here which is
4990792Sgshapiro * mangled accordingly to compensate.
5090792Sgshapiro */
5190792Sgshapiro
5290792Sgshapirooui ALTIMA			0x0010a9	Altima Communications
5390792Sgshapirooui AMD				0x00001a	Advanced Micro Devices
5490792Sgshapirooui BROADCOM			0x001018	Broadcom Corporation
5590792Sgshapirooui CICADA			0x0003F1	Cicada Semiconductor
5690792Sgshapirooui DAVICOM			0x00606e	Davicom Semiconductor
5790792Sgshapirooui ICS				0x00a0be	Integrated Circuit Systems
5890792Sgshapirooui INTEL			0x00aa00	Intel
5990792Sgshapirooui JATO			0x00e083	Jato Technologies
6090792Sgshapirooui LEVEL1			0x00207b	Level 1
6190792Sgshapirooui NATSEMI			0x080017	National Semiconductor
6290792Sgshapirooui QUALSEMI			0x006051	Quality Semiconductor
6390792Sgshapirooui REALTEK			0x000020	RealTek Semicondctor
6490792Sgshapirooui SEEQ			0x00a07d	Seeq
6590792Sgshapirooui SIS				0x00e006	Silicon Integrated Systems
6690792Sgshapirooui TDK				0x00c039	TDK
6790792Sgshapirooui TI				0x080028	Texas Instruments
6890792Sgshapirooui XAQTI			0x00e0ae	XaQti Corp.
6990792Sgshapirooui MARVELL			0x005043	Marvell Semiconductor
7090792Sgshapirooui xxMARVELL			0x000ac2	Marvell Semiconductor
7190792Sgshapiro
7290792Sgshapiro/* in the 79c873, AMD uses another OUI (which matches Davicom!) */
7390792Sgshapirooui xxAMD			0x00606e	Advanced Micro Devices
7490792Sgshapiro
7590792Sgshapiro/* Intel 82553 A/B steppings */
7690792Sgshapirooui xxINTEL			0x00f800	Intel
7790792Sgshapiro
7890792Sgshapiro/* some vendors have the bits swapped within bytes
7990792Sgshapiro	(ie, ordered as on the wire) */
8090792Sgshapirooui xxALTIMA			0x000895	Altima Communications
8190792Sgshapirooui xxBROADCOM			0x000818	Broadcom Corporation
8290792Sgshapirooui xxICS			0x00057d	Integrated Circuit Systems
8390792Sgshapirooui xxSEEQ			0x0005be	Seeq
8490792Sgshapirooui xxSIS			0x000760	Silicon Integrated Systems
8590792Sgshapirooui xxTI			0x100014	Texas Instruments
8690792Sgshapirooui xxXAQTI			0x350700	XaQti Corp.
8790792Sgshapiro
8890792Sgshapiro/* Level 1 is completely different - from right to left.
8990792Sgshapiro	(Two bits get lost in the third OUI byte.) */
9090792Sgshapirooui xxLEVEL1			0x1e0400	Level 1
9190792Sgshapiro
9290792Sgshapiro/* Don't know what's going on here. */
9390792Sgshapirooui xxDAVICOM			0x006040	Davicom Semiconductor
9490792Sgshapiro
9590792Sgshapiro/* This is the OUI of the gigE PHY in the RealTek 8169S/8110S chips */
9690792Sgshapirooui xxREALTEK			0x000732
9790792Sgshapiro
9890792Sgshapiro/*
9990792Sgshapiro * List of known models.  Grouped by oui.
10090792Sgshapiro */
10190792Sgshapiro
10290792Sgshapiro/* Altima Communications PHYs */
10390792Sgshapiromodel xxALTIMA AC101		0x0021 AC101 10/100 media interface
10490792Sgshapiromodel xxALTIMA AC101L		0x0012 AC101L 10/100 media interface
10590792Sgshapiro
10690792Sgshapiro/* Advanced Micro Devices PHYs */
10790792Sgshapiromodel xxAMD 79C873		0x0000 Am79C873 10/100 media interface
10890792Sgshapiromodel AMD 79c973phy		0x0036 Am79c973 internal PHY
10990792Sgshapiromodel AMD 79c978		0x0039 Am79c978 HomePNA PHY
11090792Sgshapiro
11190792Sgshapiro/* Broadcom Corp. PHYs. */
11290792Sgshapiromodel BROADCOM 3C905B		0x0012 3c905B 10/100 internal PHY
11390792Sgshapiromodel BROADCOM 3C905C		0x0017 3c905C 10/100 internal PHY
11490792Sgshapiromodel BROADCOM BCM5201		0x0021 BCM5201 10/100baseTX PHY
11590792Sgshapiromodel BROADCOM BCM5221		0x001e BCM5221 10/100baseTX PHY
11690792Sgshapiromodel BROADCOM BCM4401		0x0036 BCM4401 10/100baseTX PHY
11790792Sgshapiromodel xxBROADCOM BCM5400	0x0004 Broadcom 1000baseTX PHY
11890792Sgshapiromodel xxBROADCOM BCM5401	0x0005 BCM5401 10/100/1000baseTX PHY
11990792Sgshapiromodel xxBROADCOM BCM5411	0x0007 BCM5411 10/100/1000baseTX PHY
12090792Sgshapiromodel xxBROADCOM BCM5701	0x0011 BCM5701 10/100/1000baseTX PHY
12190792Sgshapiromodel xxBROADCOM BCM5703	0x0016 BCM5703 10/100/1000baseTX PHY
12290792Sgshapiromodel xxBROADCOM BCM5704	0x0019 BCM5704 10/100/1000baseTX PHY
12390792Sgshapiromodel xxBROADCOM BCM5705	0x001a BCM5705 10/100/1000baseTX PHY
12490792Sgshapiro
12590792Sgshapiro/* Cicada Semiconductor PHYs (now owned by Vitesse?) */
12690792Sgshapiromodel CICADA CS8201		0x0001 Cicada CS8201 10/100/1000TX PHY
12790792Sgshapiromodel CICADA CS8201A		0x0020 Cicada CS8201 10/100/1000TX PHY
12890792Sgshapiromodel CICADA CS8201B		0x0021 Cicada CS8201 10/100/1000TX PHY
12990792Sgshapiro
13090792Sgshapiro/* Davicom Semiconductor PHYs */
13190792Sgshapiromodel xxDAVICOM DM9101		0x0000 DM9101 10/100 media interface
13290792Sgshapiro
13390792Sgshapiro/* Integrated Circuit Systems PHYs */
13490792Sgshapiromodel xxICS 1890		0x0002 ICS1890 10/100 media interface
13590792Sgshapiro
13690792Sgshapiro/* Intel PHYs */
13790792Sgshapiromodel xxINTEL I82553AB		0x0000 i83553 10/100 media interface
13890792Sgshapiromodel INTEL I82555		0x0015 i82555 10/100 media interface
13990792Sgshapiromodel INTEL I82562EM		0x0032 i82562EM 10/100 media interface
14090792Sgshapiromodel INTEL I82562ET		0x0033 i82562ET 10/100 media interface
14190792Sgshapiromodel INTEL I82553C		0x0035 i82553 10/100 media interface
14290792Sgshapiro
14390792Sgshapiro/* Jato Technologies PHYs */
14490792Sgshapiromodel JATO BASEX		0x0000 Jato 1000baseX media interface
14590792Sgshapiro
14690792Sgshapiro/* Level 1 PHYs */
14790792Sgshapiromodel xxLEVEL1 LXT970		0x0000 LXT970 10/100 media interface
14890792Sgshapiro
14990792Sgshapiro/* National Semiconductor PHYs */
15090792Sgshapiromodel NATSEMI DP83840		0x0000 DP83840 10/100 media interface
15190792Sgshapiromodel NATSEMI DP83843		0x0001 DP83843 10/100 media interface
15290792Sgshapiromodel NATSEMI DP83891		0x0005 DP83891 10/100/1000 media interface
15390792Sgshapiromodel NATSEMI DP83861		0x0006 DP83861 10/100/1000 media interface
15490792Sgshapiro
155/* Quality Semiconductor PHYs */
156model QUALSEMI QS6612		0x0000 QS6612 10/100 media interface
157
158/* RealTek Semiconductor PHYs */
159model REALTEK RTL8201L		0x0020 RTL8201L 10/100 media interface
160model xxREALTEK RTL8169S	0x0011 RTL8169S/8110S media interface
161
162/* Seeq PHYs */
163model xxSEEQ 80220		0x0003 Seeq 80220 10/100 media interface
164model xxSEEQ 84220		0x0004 Seeq 84220 10/100 media interface
165
166/* Silicon Integrated Systems PHYs */
167model xxSIS 900			0x0000 SiS 900 10/100 media interface
168
169/* TDK */
170model TDK 78Q2120		0x0014 TDK 78Q2120 media interface
171
172/* Texas Instruments PHYs */
173model xxTI TLAN10T		0x0001 ThunderLAN 10baseT media interface
174model xxTI 100VGPMI		0x0002 ThunderLAN 100VG-AnyLan media interface
175
176/* XaQti Corp. PHYs. */
177model XAQTI XMACII		0x0000 XaQti Corp. XMAC II gigabit interface
178
179/* Marvell Semiconductor PHYs */
180model MARVELL E1000		0x0000 Marvell 88E1000 Gigabit PHY
181model MARVELL E1011		0x0002 Marvell 88E1011 Gigabit PHY
182model xxMARVELL E1000		0x0005 Marvell 88E1000 Gigabit PHY
183