miidevs revision 66127
1165138Syongari$FreeBSD: head/sys/dev/mii/miidevs 66127 2000-09-20 17:02:16Z wpaul $
2165138Syongari/*$NetBSD: miidevs,v 1.6 1999/05/14 11:37:30 drochner Exp $*/
3165138Syongari
4165138Syongari/*-
5165138Syongari * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
6165138Syongari * All rights reserved.
7165138Syongari *
8165138Syongari * This code is derived from software contributed to The NetBSD Foundation
9165138Syongari * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
10165138Syongari * NASA Ames Research Center.
11165138Syongari *
12165138Syongari * Redistribution and use in source and binary forms, with or without
13165138Syongari * modification, are permitted provided that the following conditions
14165138Syongari * are met:
15165138Syongari * 1. Redistributions of source code must retain the above copyright
16165138Syongari *    notice, this list of conditions and the following disclaimer.
17165138Syongari * 2. Redistributions in binary form must reproduce the above copyright
18165138Syongari *    notice, this list of conditions and the following disclaimer in the
19165138Syongari *    documentation and/or other materials provided with the distribution.
20165138Syongari * 3. All advertising materials mentioning features or use of this software
21165138Syongari *    must display the following acknowledgement:
22165138Syongari *	This product includes software developed by the NetBSD
23165138Syongari *	Foundation, Inc. and its contributors.
24165138Syongari * 4. Neither the name of The NetBSD Foundation nor the names of its
25165138Syongari *    contributors may be used to endorse or promote products derived
26165138Syongari *    from this software without specific prior written permission.
27165138Syongari *
28165138Syongari * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
29165138Syongari * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
30165138Syongari * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
31165138Syongari * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
32165138Syongari * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
33165138Syongari * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
34165138Syongari * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
35165138Syongari * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
36165138Syongari * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
37165138Syongari * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38165138Syongari * POSSIBILITY OF SUCH DAMAGE.
39165138Syongari */
40165138Syongari
41165138Syongari/*
42165138Syongari * List of known MII OUIs.
43165138Syongari * For a complete list see http://standards.ieee.org/regauth/oui/
44165138Syongari *
45165138Syongari * XXX Vendors do obviously not agree how OUIs (18 bit) are mapped
46165138Syongari * to the 16 bits available in the id registers. The MII_OUI() macro
47165138Syongari * in "mii.h" reflects the most obvious way. If a vendor uses a
48165138Syongari * different mapping, an "xx" prefixed OUI is defined here which is
49165138Syongari * mangled accordingly to compensate.
50165138Syongari */
51165138Syongari
52165138Syongarioui ALTIMA			0x0010a9	Altima Communications
53165138Syongarioui AMD				0x00001a	Advanced Micro Devices
54165138Syongarioui BROADCOM			0x001018	Broadcom Corporation
55165138Syongarioui DAVICOM			0x00606e	Davicom Semiconductor
56165138Syongarioui ICS				0x00a0be	Integrated Circuit Systems
57165138Syongarioui INTEL			0x00aa00	Intel
58165138Syongarioui LEVEL1			0x00207b	Level 1
59165138Syongarioui NATSEMI			0x080017	National Semiconductor
60165138Syongarioui QUALSEMI			0x006051	Quality Semiconductor
61165138Syongarioui SEEQ			0x00a07d	Seeq
62165138Syongarioui SIS				0x00e006	Silicon Integrated Systems
63165138Syongarioui TI				0x080028	Texas Instruments
64165138Syongarioui XAQTI			0x00e0ae	XaQti Corp.
65165138Syongari
66165138Syongari/* in the 79c873, AMD uses another OUI (which matches Davicom!) */
67165138Syongarioui xxAMD			0x00606e	Advanced Micro Devices
68165138Syongari
69165138Syongari/* some vendors have the bits swapped within bytes
70165138Syongari	(ie, ordered as on the wire) */
71165138Syongarioui xxALTIMA			0x000895	Altima Communications
72165138Syongarioui xxBROADCOM			0x000818	Broadcom Corporation
73165138Syongarioui xxICS			0x00057d	Integrated Circuit Systems
74165138Syongarioui xxSEEQ			0x0005be	Seeq
75165138Syongarioui xxSIS			0x000760	Silicon Integrated Systems
76165138Syongarioui xxTI			0x100014	Texas Instruments
77165138Syongarioui xxXAQTI			0x350700	XaQti Corp.
78165138Syongari
79165138Syongari/* Level 1 is completely different - from right to left.
80165138Syongari	(Two bits get lost in the third OUI byte.) */
81165138Syongarioui xxLEVEL1			0x1e0400	Level 1
82165138Syongari
83165138Syongari/* Don't know what's going on here. */
84165138Syongarioui xxDAVICOM			0x006040	Davicom Semiconductor
85165138Syongari
86165138Syongari
87165138Syongari/*
88165138Syongari * List of known models.  Grouped by oui.
89165138Syongari */
90165138Syongari
91165138Syongari/* Altima Communications PHYs */
92165138Syongarimodel xxALTIMA AC101		0x0021 AC101 10/100 media interface
93165138Syongari
94165138Syongari/* Advanced Micro Devices PHYs */
95165138Syongarimodel xxAMD 79C873		0x0000 Am79C873 10/100 media interface
96165138Syongarimodel AMD 79c973phy		0x0036 Am79c973 internal PHY
97165138Syongarimodel AMD 79c978		0x0039 Am79c978 HomePNA PHY
98165138Syongari
99165138Syongari/* Broadcom Corp. PHYs. */
100165138Syongarimodel BROADCOM 3c905Cphy	0x0017 3c905C 10/100 internal PHY
101165138Syongarimodel xxBROADCOM BCM5400	0x0004 Broadcom 1000baseTX PHY
102165138Syongari
103165138Syongari/* Davicom Semiconductor PHYs */
104165138Syongarimodel xxDAVICOM DM9101		0x0000 DM9101 10/100 media interface
105165138Syongari
106165138Syongari/* Integrated Circuit Systems PHYs */
107165138Syongarimodel xxICS 1890		0x0002 ICS1890 10/100 media interface
108165138Syongari
109165138Syongari/* Intel PHYs */
110165138Syongarimodel INTEL I82555		0x0015 i82555 10/100 media interface
111165138Syongari
112165138Syongari/* Level 1 PHYs */
113165138Syongarimodel xxLEVEL1 LXT970		0x0000 LXT970 10/100 media interface
114165138Syongari
115165138Syongari/* National Semiconductor PHYs */
116165138Syongarimodel NATSEMI DP83840		0x0000 DP83840 10/100 media interface
117165138Syongarimodel NATSEMI DP83843		0x0001 DP83843 10/100 media interface
118165138Syongari
119165138Syongari/* Quality Semiconductor PHYs */
120165138Syongarimodel QUALSEMI QS6612		0x0000 QS6612 10/100 media interface
121165138Syongari
122165138Syongari/* Seeq PHYs */
123165138Syongarimodel xxSEEQ 80220		0x0003 Seeq 80220 10/100 media interface
124165138Syongarimodel xxSEEQ 84220		0x0004 Seeq 84220 10/100 media interface
125165138Syongari
126165138Syongari/* Silicon Integrated Systems PHYs */
127165138Syongarimodel xxSIS 900			0x0000 SiS 900 10/100 media interface
128165138Syongari
129165138Syongari/* Texas Instruments PHYs */
130165138Syongarimodel xxTI TLAN10T		0x0001 ThunderLAN 10baseT media interface
131165138Syongarimodel xxTI 100VGPMI		0x0002 ThunderLAN 100VG-AnyLan media interface
132165138Syongari
133192736Syongari/* XaQti Corp. PHYs. */
134192736Syongarimodel XAQTI XMACII		0x0000 XaQti Corp. XMAC II gigabit interface
135192736Syongari