xref: /openbsd/sys/dev/mii/miidevs (revision 3cab2bb3)
1$OpenBSD: miidevs,v 1.129 2020/04/14 20:57:22 kettenis Exp $
2/* $NetBSD: miidevs,v 1.3 1998/11/05 03:43:43 thorpej Exp $ */
3
4/*-
5 * Copyright (c) 1998 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
10 * NASA Ames Research Center.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright
16 *    notice, this list of conditions and the following disclaimer.
17 * 2. Redistributions in binary form must reproduce the above copyright
18 *    notice, this list of conditions and the following disclaimer in the
19 *    documentation and/or other materials provided with the distribution.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
22 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
23 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
25 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 */
33
34/*
35 * List of known MII OUIs
36 */
37oui AMD				0x00001a	AMD
38oui REALTEK			0x000020	Realtek
39oui VITESSE			0x0001c1	Vitesse
40oui CICADA			0x0003f1	Cicada
41oui CENIX			0x000749	CENiX
42oui MICREL			0x000885	Micrel
43oui BROADCOM2			0x000af7	Broadcom
44oui RDC				0x000bb4	RDC Semi.
45oui ASIX			0x000ec6	ASIX
46oui BROADCOM			0x001018	Broadcom
47oui 3COM			0x00105a	3com
48oui ALTIMA			0x0010a9	Altima
49oui ENABLESEMI			0x0010dd	Enable Semi.
50oui ATHEROS			0x001374	Atheros
51oui JMICRON			0x001b8c	JMicron
52oui LEVEL1			0x00207b	Level 1
53oui VIA				0x004063	VIA Networking
54oui MARVELL			0x005043	Marvell
55oui LUCENT			0x00601d	Lucent
56oui QUALITYSEMI			0x006051	Quality Semi.
57oui DAVICOM			0x00606e	Davicom
58oui SMSC			0x00800f	Standard Microsystems
59oui ICPLUS			0x0090c3	IC Plus
60oui TOPICSEMI			0x0090c3	Topic Semi.
61oui AGERE			0x00a0bc	Agere
62oui ICS				0x00a0be	Integrated Circuit Systems
63oui SEEQ			0x00a07d	Seeq
64oui INTEL			0x00aa00	Intel
65oui TDK				0x00c039	TDK
66oui MYSON			0x00c0b4	Myson
67oui PMCSIERRA			0x00e004	PMC-Sierra
68oui SIS				0x00e006	Silicon Integrated Systems
69oui REALTEK2			0x00e04c	Realtek
70oui JATO			0x00e083	Jato Technologies
71oui XAQTI			0x00e0ae	XaQti
72oui PLESSEYSEMI			0x046b40	Plessey Semi.
73oui NATSEMI			0x080017	National Semi.
74oui TI				0x080028	Texas Instruments
75
76/* in the 79c873, AMD uses another OUI (which matches Davicom!) */
77oui xxALTIMA			0x000895	Altima
78oui xxAMD			0x00606e	AMD
79oui xxCICADA			0x00c08f	Cicada (alt)
80oui xxINTEL			0x00f800	Intel (alt)
81
82/* some vendors have the bits swapped within bytes
83	(ie, ordered as on the wire) */
84oui xxICS			0x00057d	Integrated Circuit Systems
85oui xxSEEQ			0x0005be	Seeq
86oui xxSIS			0x000760	Silicon Integrated Systems
87oui xxBROADCOM			0x000818	Broadcom
88oui xxTI			0x100014	Texas Instruments
89oui xxXAQTI			0x350700	XaQti
90
91/* Level 1 is completely different - from right to left.
92	(Two bits get lost in the third OUI byte.) */
93oui xxLEVEL1a			0x0004de	Level 1
94oui xxLEVEL1			0x1e0400	Level 1
95
96/* Don't know what's going on here. */
97oui xxBROADCOM2			0x0050ef	Broadcom
98oui xxBROADCOM3			0x00d897	Broadcom
99oui xxBROADCOM4			0x180361	Broadcom
100oui xxDAVICOM			0x006040	Davicom
101
102/* This is the OUI of the gigE PHY in the Realtek 8169S/8110S chips */
103oui xxREALTEK			0x000732	Realtek
104
105/* Contrived vendor for dcphy */
106oui xxDEC			0x040440	Digital Clone
107
108oui xxMARVELL			0x000ac2	Marvell
109
110/*
111 * List of known models.  Grouped by oui.
112 */
113
114/* AMD PHYs */
115model xxAMD 79C873		0x0000	Am79C873 10/100 PHY
116model AMD 79C875phy		0x0014	Am79C875 quad PHY
117model AMD 79C873phy		0x0036	Am79C873 internal PHY
118
119/* Agere PHYs */
120model AGERE ET1011		0x0004	ET1011 10/100/1000baseT PHY
121
122/* Atheros PHYs */
123model ATHEROS F1		0x0001	F1 10/100/1000 PHY
124model ATHEROS F2		0x0002	F2 10/100 PHY
125model ATHEROS AR8035		0x0007	AR8035 10/100/1000 PHY
126
127/* Altima PHYs */
128model xxALTIMA AC_UNKNOWN	0x0001	AC_UNKNOWN 10/100 PHY
129model xxALTIMA AC101L		0x0012	AC101L 10/100 PHY
130model xxALTIMA AC101		0x0021	AC101 10/100 PHY
131
132/* Broadcom PHYs */
133model xxBROADCOM BCM5400	0x0004	BCM5400 1000baseT PHY
134model xxBROADCOM BCM5401	0x0005	BCM5401 10/100/1000baseT PHY
135model xxBROADCOM BCM5411	0x0007	BCM5411 10/100/1000baseT PHY
136model xxBROADCOM BCM5464	0x000b	BCM5464 10/100/1000baseT PHY
137model xxBROADCOM BCM5461	0x000c	BCM5461	10/100/1000baseT PHY
138model xxBROADCOM BCM5462	0x000d	BCM5462 10/100/1000baseT PHY
139model xxBROADCOM BCM5421	0x000e	BCM5421 10/100/1000baseT PHY
140model xxBROADCOM BCM5752	0x0010	BCM5752 10/100/1000baseT PHY
141model xxBROADCOM BCM5701	0x0011	BCM5701 10/100/1000baseT PHY
142model xxBROADCOM BCM5706	0x0015	BCM5706 10/100/1000baseT/SX PHY
143model xxBROADCOM BCM5703	0x0016	BCM5703 10/100/1000baseT PHY
144model xxBROADCOM BCM5750	0x0018	BCM5750 10/100/1000baseT PHY
145model xxBROADCOM BCM5704	0x0019	BCM5704 10/100/1000baseT PHY
146model xxBROADCOM BCM5705	0x001a	BCM5705 10/100/1000baseT PHY
147model xxBROADCOM BCM54K2	0x002e	BCM54K2 10/100/1000baseT PHY
148model xxBROADCOM BCM5714	0x0034	BCM5714 10/100/1000baseT/SX PHY
149model xxBROADCOM BCM5780	0x0035	BCM5780 10/100/1000baseT/SX PHY
150model xxBROADCOM BCM5708C	0x0036	BCM5708C 10/100/1000baseT PHY
151model xxBROADCOM2 BCM54XX	0x0007	BCM54XX 10/100/1000baseT PHY
152model xxBROADCOM2 BCM5481	0x000a	BCM5481 10/100/1000baseT PHY
153model xxBROADCOM2 BCM5482	0x000b	BCM5482 10/100/1000baseT PHY
154model xxBROADCOM2 BCM5755	0x000c	BCM5755 10/100/1000baseT PHY
155model xxBROADCOM2 BCM5787	0x000e	BCM5787 10/100/1000baseT PHY
156model xxBROADCOM2 BCM5708S	0x0015	BCM5708S 1000/2500baseSX PHY
157model xxBROADCOM2 BCM5709CAX	0x002c	BCM5709CAX 10/100/1000baseT PHY
158model xxBROADCOM2 BCM5722	0x002d	BCM5722 10/100/1000baseT PHY
159model xxBROADCOM2 BCM5784	0x003a	BCM5784 10/100/1000baseT PHY
160model xxBROADCOM2 BCM5709C	0x003c	BCM5709 10/100/1000baseT PHY
161model xxBROADCOM2 BCM5761	0x003d	BCM5761 10/100/1000baseT PHY
162model xxBROADCOM2 BCM5709S	0x003f	BCM5709S 1000/2500baseSX PHY
163model xxBROADCOM2 BCM53115	0x0038	BCM53115 10/100/1000baseT PHY
164model xxBROADCOM3 BCM57780	0x0019	BCM57780 10/100/1000baseT PHY
165model xxBROADCOM3 BCM5717C	0x0020	BCM5717C 10/100/1000baseT PHY
166model xxBROADCOM3 BCM5719C	0x0022	BCM5719C 10/100/1000baseT PHY
167model xxBROADCOM3 BCM57765	0x0024	BCM57765 10/100/1000baseT PHY
168model xxBROADCOM3 BCM5720C	0x0036	BCM5720C 10/100/1000baseT PHY
169model xxBROADCOM4 BCM54210E	0x000a  BCM54210E 10/100/1000baseT PHY
170model BROADCOM BCM5400		0x0004	BCM5400 1000baseT PHY
171model BROADCOM BCM5401		0x0005	BCM5401 1000baseT PHY
172model BROADCOM BCM5411		0x0007	BCM5411 1000baseT PHY
173model BROADCOM 3C905B		0x0012	3C905B internal PHY
174model BROADCOM 3C905C		0x0017	3C905C internal PHY
175model BROADCOM BCM5221		0x001e	BCM5221 100baseTX PHY
176model BROADCOM BCM5201		0x0021	BCM5201 10/100 PHY
177model BROADCOM BCM5214		0x0028	BCM5214 Quad 10/100 PHY
178model BROADCOM BCM5222		0x0032	BCM5222 Dual 10/100 PHY
179model BROADCOM BCM5220		0x0033	BCM5220 10/100 PHY
180model BROADCOM BCM4401		0x0036	BCM4401 10/100baseTX PHY
181model BROADCOM2 BCM5906		0x0004	BCM5906 10/100baseTX PHY
182
183/* Cicada PHYs (now owned by Vitesse) */
184model xxCICADA CS8201B		0x0021	CS8201 10/100/1000TX PHY
185model CICADA CS8201		0x0001	CS8201 10/100/1000TX PHY
186model CICADA CS8204		0x0004	CS8204 10/100/1000TX PHY
187model CICADA VSC8211		0x000b	VSC8211 10/100/1000 PHY
188model CICADA CS8201A		0x0020	CS8201 10/100/1000TX PHY
189model CICADA CS8201B		0x0021	CS8201 10/100/1000TX PHY
190model CICADA CS8244		0x002c	CS8244 10/100/1000TX PHY
191
192/* Davicom PHYs */
193model xxDAVICOM DM9101		0x0000	DM9101 10/100 PHY
194model DAVICOM DM9102		0x0004	DM9102 10/100 PHY
195model DAVICOM DM9601		0x000c	DM9601 10/100 PHY
196
197/* Contrived vendor/model for dcphy */
198model xxDEC xxDC		0x0001	DC
199
200/* Enable Semi. PHYs (Agere) */
201model ENABLESEMI LU3X31FT	0x0001	LU3X31FT
202model ENABLESEMI LU3X31T2	0x0002	LU3X31T2
203model ENABLESEMI 88E1000S	0x0004	88E1000S
204model ENABLESEMI 88E1000	0x0005	88E1000
205
206/* IC Plus PHYs */
207model ICPLUS IP100		0x0004	IP100 10/100 PHY
208model ICPLUS IP101		0x0005	IP101 10/100 PHY
209model ICPLUS IP1000A		0x0008	IP1000A 10/100/1000 PHY
210model ICPLUS IP1001		0x0019	IP1001 10/100/1000 PHY
211
212/* Integrated Circuit Systems PHYs */
213model xxICS 1890		0x0002	ICS1890 10/100 PHY
214model xxICS 1892		0x0003	ICS1892 10/100 PHY
215model xxICS 1893		0x0004	ICS1893 10/100 PHY
216
217/* Intel PHYs */
218model xxINTEL I82553		0x0000	i82553 10/100 PHY
219model INTEL I82555		0x0015	i82555 10/100 PHY
220model INTEL I82562G		0x0031	i82562G 10/100 PHY
221model INTEL I82562EM		0x0032	i82562EM 10/100 PHY
222model INTEL I82562ET		0x0033	i82562ET 10/100 PHY
223model INTEL I82553		0x0035	i82553 10/100 PHY
224
225/* Jato Technologies PHYs */
226model JATO BASEX		0x0000	Jato 1000baseX PHY
227
228/* JMicron PHYs */
229model JMICRON JMP211		0x0021	JMP211 10/100/1000 PHY
230model JMICRON JMP202		0x0022	JMP202 10/100 PHY
231
232/* Level 1 PHYs */
233model xxLEVEL1 LXT970		0x0000	LXT970 10/100 PHY
234model xxLEVEL1a LXT971		0x000e	LXT971 10/100 PHY
235model LEVEL1 LXT1000_OLD	0x0003	LXT1000 10/100/1000 PHY
236model LEVEL1 LXT1000		0x000c	LXT1000 10/100/1000 PHY
237
238/* Lucent PHYs */
239model LUCENT LU6612		0x000c	LU6612 10/100 PHY
240model LUCENT LU3X51FT		0x0033	LU3X51FT 10/100 PHY
241model LUCENT LU3X54FT		0x0036	LU3X54FT 10/100 PHY
242
243/* Marvell PHYs */
244model xxMARVELL E1000_5		0x0002	88E1000 5 Gigabit PHY
245model xxMARVELL E1000_6		0x0003	88E1000 6 Gigabit PHY
246model xxMARVELL E1000_7		0x0005	88E1000 7 Gigabit PHY
247model xxMARVELL E1111		0x000c	88E1111 Gigabit PHY
248model MARVELL E1000_1		0x0000	88E1000 1 Gigabit PHY
249model MARVELL E1011		0x0002	88E1011 Gigabit PHY
250model MARVELL E1000_2		0x0003	88E1000 2 Gigabit PHY
251model MARVELL E1000S		0x0004	88E1000S Gigabit PHY
252model MARVELL E1000_3		0x0005	88E1000 3 Gigabit PHY
253model MARVELL E1000_4		0x0006	88E1000 4 Gigabit PHY
254model MARVELL E3082		0x0008	88E3082 10/100 PHY
255model MARVELL E1112		0x0009	88E1112 Gigabit PHY
256model MARVELL E1149		0x000b	88E1149 Gigabit PHY
257model MARVELL E1111		0x000c	88E1111 Gigabit PHY
258model MARVELL E1512		0x001d	88E1512 10/100/1000 PHY
259model MARVELL E1116		0x0021	88E1116 Gigabit PHY
260model MARVELL E1118		0x0022	88E1118 Gigabit PHY
261model MARVELL E1116R		0x0024	88E1116R Gigabit PHY
262model MARVELL E3016		0x0026	88E3016 10/100 PHY
263model MARVELL PHYG65G		0x0027	PHYG65G Gigabit PHY
264model MARVELL E1545		0x002a	88E1545 Quad 10/100/1000 PHY
265
266/* Micrel PHYs */
267model MICREL KSZ9021		0x0021	KSZ9021 10/100/1000 PHY
268model MICREL KSZ9031		0x0022	KSZ9031 10/100/1000 PHY
269
270/* Myson PHYs */
271model MYSON MTD972		0x0000	MTD972 10/100 PHY
272
273/* National Semi. PHYs */
274model NATSEMI DP83840		0x0000	DP83840 10/100 PHY
275model NATSEMI DP83843		0x0001	DP83843 10/100 PHY
276model NATSEMI DP83815		0x0002	DP83815 10/100 PHY
277model NATSEMI DP83847		0x0003	DP83847 10/100 PHY
278model NATSEMI DP83891		0x0005	DP83891 10/100/1000 PHY
279model NATSEMI DP83861		0x0006	DP83861 10/100/1000 PHY
280model NATSEMI DP83865		0x0007	DP83865 10/100/1000 PHY
281
282/* Plessey Semi. PHYs */
283model PLESSEY NWK914		0x0000	NWK914 10/100 PHY
284
285/* Quality Semi. PHYs */
286model QUALITYSEMI QS6612	0x0000	QS6612 10/100 PHY
287
288/* RDC Semi. PHYs */
289model RDC R6040			0x0003	R6040 10/100 PHY
290
291/* Realtek PHYs */
292model xxREALTEK RTL8251		0x0000	RTL8251 PHY
293model xxREALTEK RTL8201E	0x0008	RTL8201E 10/100 PHY
294model xxREALTEK RTL8169S	0x0011	RTL8169S/8110S/8211 PHY
295model REALTEK RTL8201L		0x0020	RTL8201L 10/100 PHY
296
297/* Seeq PHYs */
298model xxSEEQ 80220		0x0003	80220 10/100 PHY
299model xxSEEQ 84220		0x0004	84220 10/100 PHY
300model xxSEEQ 80225		0x0008	80225 10/100 PHY
301
302/* Silicon Integrated Systems PHYs */
303model xxSIS 900			0x0000	900 10/100 PHY
304
305/* Standard Microsystems PHYs */
306model SMSC LAN83C185		0x000a	LAN83C185 10/100 PHY
307
308/* Texas Instruments PHYs */
309model xxTI TLAN10T		0x0001	ThunderLAN 10baseT PHY
310model xxTI 100VGPMI		0x0002	ThunderLAN 100VG-AnyLan PHY
311model xxTI TNETE2101		0x0003	TNETE2101 PHY
312
313/* TDK PHYs */
314model TDK 78Q2120		0x0014	78Q2120 10/100 PHY
315model TDK 78Q2121		0x0015	78Q2121 100baseTX PHY
316
317/* VIA Networking PHYs */
318model VIA VT6103		0x0032	VT6103 10/100 PHY
319model VIA VT6103_2		0x0034	VT6103 10/100 PHY
320
321/* Vitesse PHYs */
322model VITESSE VSC8601		0x0002	VSC8601 10/100/1000 PHY
323
324/* XaQti PHYs */
325model XAQTI XMACII		0x0000	XMAC II Gigabit PHY
326