miidevs revision 83029
125164Speter$FreeBSD: head/sys/dev/mii/miidevs 83029 2001-09-04 22:00:33Z wpaul $
276078Sjhb/*$NetBSD: miidevs,v 1.6 1999/05/14 11:37:30 drochner Exp $*/
376078Sjhb
425164Speter/*-
525164Speter * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
625164Speter * All rights reserved.
725164Speter *
825164Speter * This code is derived from software contributed to The NetBSD Foundation
925164Speter * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
1076078Sjhb * NASA Ames Research Center.
1176078Sjhb *
1276078Sjhb * Redistribution and use in source and binary forms, with or without
1376078Sjhb * modification, are permitted provided that the following conditions
1476078Sjhb * are met:
1576078Sjhb * 1. Redistributions of source code must retain the above copyright
1625164Speter *    notice, this list of conditions and the following disclaimer.
1776078Sjhb * 2. Redistributions in binary form must reproduce the above copyright
1825164Speter *    notice, this list of conditions and the following disclaimer in the
1925164Speter *    documentation and/or other materials provided with the distribution.
2076078Sjhb * 3. All advertising materials mentioning features or use of this software
2176078Sjhb *    must display the following acknowledgement:
2276078Sjhb *	This product includes software developed by the NetBSD
2376078Sjhb *	Foundation, Inc. and its contributors.
2476078Sjhb * 4. Neither the name of The NetBSD Foundation nor the names of its
2576078Sjhb *    contributors may be used to endorse or promote products derived
2676078Sjhb *    from this software without specific prior written permission.
2776078Sjhb *
2825164Speter * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
2925164Speter * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
3076078Sjhb * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3176078Sjhb * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
3276440Sjhb * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
3376078Sjhb * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
3425164Speter * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
35116182Sobrien * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
36116182Sobrien * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
37116182Sobrien * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3828743Sbde * POSSIBILITY OF SUCH DAMAGE.
3925164Speter */
4076440Sjhb
4176078Sjhb/*
4228808Speter * List of known MII OUIs.
43126763Snjl * For a complete list see http://standards.ieee.org/regauth/oui/
4476078Sjhb *
4567365Sjhb * XXX Vendors do obviously not agree how OUIs (18 bit) are mapped
4676440Sjhb * to the 16 bits available in the id registers. The MII_OUI() macro
4776078Sjhb * in "mii.h" reflects the most obvious way. If a vendor uses a
4876078Sjhb * different mapping, an "xx" prefixed OUI is defined here which is
4925164Speter * mangled accordingly to compensate.
5091778Sjake */
5191778Sjake
52123125Sjhboui ALTIMA			0x0010a9	Altima Communications
5376078Sjhboui AMD				0x00001a	Advanced Micro Devices
5476078Sjhboui BROADCOM			0x001018	Broadcom Corporation
5525164Speteroui DAVICOM			0x00606e	Davicom Semiconductor
5692723Salfredoui ICS				0x00a0be	Integrated Circuit Systems
57123125Sjhboui INTEL			0x00aa00	Intel
58123125Sjhboui JATO			0x00e083	Jato Technologies
5976078Sjhboui LEVEL1			0x00207b	Level 1
60123766Salfredoui NATSEMI			0x080017	National Semiconductor
61123766Salfredoui QUALSEMI			0x006051	Quality Semiconductor
6228027Sfsmpoui SEEQ			0x00a07d	Seeq
63124925Sjeffoui SIS				0x00e006	Silicon Integrated Systems
6485787Smarceloui TDK				0x00c039	TDK
6576078Sjhboui TI				0x080028	Texas Instruments
6691673Sjeffoui XAQTI			0x00e0ae	XaQti Corp.
6725164Speteroui MARVELL			0x005043	Marvell Semiconductor
6876078Sjhb
6925164Speter/* in the 79c873, AMD uses another OUI (which matches Davicom!) */
70123766Salfredoui xxAMD			0x00606e	Advanced Micro Devices
71123766Salfred
72123766Salfred/* Intel 82553 A/B steppings */
7376078Sjhboui xxINTEL			0x00f800	Intel
74116270Sdes
75116270Sdes/* some vendors have the bits swapped within bytes
7626155Sfsmp	(ie, ordered as on the wire) */
77108371Sjakeoui xxALTIMA			0x000895	Altima Communications
78121307Ssilbyoui xxBROADCOM			0x000818	Broadcom Corporation
79116270Sdesoui xxICS			0x00057d	Integrated Circuit Systems
80108371Sjakeoui xxSEEQ			0x0005be	Seeq
81108371Sjakeoui xxSIS			0x000760	Silicon Integrated Systems
8276078Sjhboui xxTI			0x100014	Texas Instruments
83116270Sdesoui xxXAQTI			0x350700	XaQti Corp.
84116270Sdes
8527005Sfsmp/* Level 1 is completely different - from right to left.
86126763Snjl	(Two bits get lost in the third OUI byte.) */
87126763Snjloui xxLEVEL1			0x1e0400	Level 1
88126763Snjl
89126763Snjl/* Don't know what's going on here. */
90126763Snjloui xxDAVICOM			0x006040	Davicom Semiconductor
91126763Snjl
92126763Snjl
93126763Snjl/*
94126763Snjl * List of known models.  Grouped by oui.
95126763Snjl */
96126763Snjl
97126763Snjl/* Altima Communications PHYs */
98126763Snjlmodel xxALTIMA AC101		0x0021 AC101 10/100 media interface
99126763Snjl
100126763Snjl/* Advanced Micro Devices PHYs */
101126763Snjlmodel xxAMD 79C873		0x0000 Am79C873 10/100 media interface
102126763Snjlmodel AMD 79c973phy		0x0036 Am79c973 internal PHY
103126763Snjlmodel AMD 79c978		0x0039 Am79c978 HomePNA PHY
104126763Snjl
105126763Snjl/* Broadcom Corp. PHYs. */
106126763Snjlmodel BROADCOM 3c905Cphy	0x0017 3c905C 10/100 internal PHY
107126763Snjlmodel xxBROADCOM BCM5400	0x0004 Broadcom 1000baseTX PHY
108126763Snjlmodel xxBROADCOM BCM5401	0x0005 BCM5401 10/100/1000baseTX PHY
109126763Snjlmodel xxBROADCOM BCM5411	0x0007 BCM5411 10/100/1000baseTX PHY
110126763Snjl
111126763Snjl/* Davicom Semiconductor PHYs */
112126763Snjlmodel xxDAVICOM DM9101		0x0000 DM9101 10/100 media interface
113126763Snjl
114126763Snjl/* Integrated Circuit Systems PHYs */
115126763Snjlmodel xxICS 1890		0x0002 ICS1890 10/100 media interface
116126763Snjl
117126763Snjl/* Intel PHYs */
118126763Snjlmodel xxINTEL I82553AB		0x0000 i83553 10/100 media interface
119126763Snjlmodel INTEL I82555		0x0015 i82555 10/100 media interface
120126763Snjlmodel INTEL I82562EM		0x0032 i82562EM 10/100 media interface
121126763Snjlmodel INTEL I82562ET		0x0033 i82562ET 10/100 media interface
122126763Snjlmodel INTEL I82553C		0x0035 i82553 10/100 media interface
123126763Snjl
124126763Snjl/* Jato Technologies PHYs */
125126763Snjlmodel JATO BASEX		0x0000 Jato 1000baseX media interface
126123125Sjhb
12771525Sjhb/* Level 1 PHYs */
12871525Sjhbmodel xxLEVEL1 LXT970		0x0000 LXT970 10/100 media interface
12976078Sjhb
130116270Sdes/* National Semiconductor PHYs */
131116270Sdesmodel NATSEMI DP83840		0x0000 DP83840 10/100 media interface
13271525Sjhbmodel NATSEMI DP83843		0x0001 DP83843 10/100 media interface
13371525Sjhbmodel NATSEMI DP83891		0x0005 DP83891 10/100/1000 media interface
13471525Sjhbmodel NATSEMI DP83861		0x0006 DP83861 10/100/1000 media interface
13576078Sjhb
136116270Sdes/* Quality Semiconductor PHYs */
137116270Sdesmodel QUALSEMI QS6612		0x0000 QS6612 10/100 media interface
13871525Sjhb
13976078Sjhb/* Seeq PHYs */
14076078Sjhbmodel xxSEEQ 80220		0x0003 Seeq 80220 10/100 media interface
14176078Sjhbmodel xxSEEQ 84220		0x0004 Seeq 84220 10/100 media interface
14276078Sjhb
14376078Sjhb/* Silicon Integrated Systems PHYs */
14476078Sjhbmodel xxSIS 900			0x0000 SiS 900 10/100 media interface
14576078Sjhb
14671525Sjhb/* TDK */
14725164Spetermodel TDK 78Q2120		0x0014 TDK 78Q2120 media interface
148122947Sjhb
14925164Speter/* Texas Instruments PHYs */
15071525Sjhbmodel xxTI TLAN10T		0x0001 ThunderLAN 10baseT media interface
151122947Sjhbmodel xxTI 100VGPMI		0x0002 ThunderLAN 100VG-AnyLan media interface
15291673Sjeff
153122947Sjhb/* XaQti Corp. PHYs. */
15491673Sjeffmodel XAQTI XMACII		0x0000 XaQti Corp. XMAC II gigabit interface
155122947Sjhb
15691673Sjeff/* Marvell Semiconductor PHYs */
15791673Sjeffmodel MARVELL E1000		0x0000 Marvell Semiconductor 88E1000* gigabit PHY
15891673Sjeff