xref: /openbsd-src/sys/dev/mii/miidevs (revision 25a0d4ae7912cc604b35618a0c63bd27b666b7be)
1$OpenBSD: miidevs,v 1.134 2024/07/27 03:26:04 deraadt 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
75oui MOTORCOMM			0x13d47a	Motorcomm
76
77/* in the 79c873, AMD uses another OUI (which matches Davicom!) */
78oui xxALTIMA			0x000895	Altima
79oui xxAMD			0x00606e	AMD
80oui xxCICADA			0x00c08f	Cicada (alt)
81oui xxINTEL			0x00f800	Intel (alt)
82
83/* some vendors have the bits swapped within bytes
84	(ie, ordered as on the wire) */
85oui xxICS			0x00057d	Integrated Circuit Systems
86oui xxSEEQ			0x0005be	Seeq
87oui xxSIS			0x000760	Silicon Integrated Systems
88oui xxBROADCOM			0x000818	Broadcom
89oui xxTI			0x100014	Texas Instruments
90oui xxXAQTI			0x350700	XaQti
91
92/* Level 1 is completely different - from right to left.
93	(Two bits get lost in the third OUI byte.) */
94oui xxLEVEL1a			0x0004de	Level 1
95oui xxLEVEL1			0x1e0400	Level 1
96
97/* Don't know what's going on here. */
98oui xxBROADCOM2			0x0050ef	Broadcom
99oui xxBROADCOM3			0x00d897	Broadcom
100oui xxBROADCOM4			0x180361	Broadcom
101oui xxDAVICOM			0x006040	Davicom
102
103/* This is the OUI of the gigE PHY in the Realtek 8169S/8110S chips */
104oui xxREALTEK			0x000732	Realtek
105
106/* Contrived vendor for dcphy */
107oui xxDEC			0x040440	Digital Clone
108
109oui xxMARVELL			0x000ac2	Marvell
110
111/*
112 * List of known models.  Grouped by oui.
113 */
114
115/* AMD */
116model xxAMD 79C873		0x0000	Am79C873
117model AMD 79C875phy		0x0014	Am79C875 quad
118model AMD 79C873phy		0x0036	Am79C873 internal
119
120/* Agere */
121model AGERE ET1011		0x0004	ET1011
122
123/* Atheros */
124model ATHEROS F1		0x0001	F1
125model ATHEROS F2		0x0002	F2
126model ATHEROS AR8035		0x0007	AR8035
127
128/* Altima */
129model xxALTIMA AC_UNKNOWN	0x0001	AC_UNKNOWN
130model xxALTIMA AC101L		0x0012	AC101L
131model xxALTIMA AC101		0x0021	AC101
132
133/* Broadcom */
134model xxBROADCOM BCM5400	0x0004	BCM5400
135model xxBROADCOM BCM5401	0x0005	BCM5401
136model xxBROADCOM BCM5411	0x0007	BCM5411
137model xxBROADCOM BCM5464	0x000b	BCM5464
138model xxBROADCOM BCM5461	0x000c	BCM5461
139model xxBROADCOM BCM5462	0x000d	BCM5462
140model xxBROADCOM BCM5421	0x000e	BCM5421
141model xxBROADCOM BCM5752	0x0010	BCM5752
142model xxBROADCOM BCM5701	0x0011	BCM5701
143model xxBROADCOM BCM5706	0x0015	BCM5706
144model xxBROADCOM BCM5703	0x0016	BCM5703
145model xxBROADCOM BCM5750	0x0018	BCM5750
146model xxBROADCOM BCM5704	0x0019	BCM5704
147model xxBROADCOM BCM5705	0x001a	BCM5705
148model xxBROADCOM BCM54K2	0x002e	BCM54K2
149model xxBROADCOM BCM5714	0x0034	BCM5714
150model xxBROADCOM BCM5780	0x0035	BCM5780
151model xxBROADCOM BCM5708C	0x0036	BCM5708C
152model xxBROADCOM2 BCM54XX	0x0007	BCM54XX
153model xxBROADCOM2 BCM5481	0x000a	BCM5481
154model xxBROADCOM2 BCM5482	0x000b	BCM5482
155model xxBROADCOM2 BCM5755	0x000c	BCM5755
156model xxBROADCOM2 BCM5787	0x000e	BCM5787
157model xxBROADCOM2 BCM5708S	0x0015	BCM5708S
158model xxBROADCOM2 BCM5709CAX	0x002c	BCM5709CAX
159model xxBROADCOM2 BCM5722	0x002d	BCM5722
160model xxBROADCOM2 BCM5784	0x003a	BCM5784
161model xxBROADCOM2 BCM5709C	0x003c	BCM5709
162model xxBROADCOM2 BCM5761	0x003d	BCM5761
163model xxBROADCOM2 BCM5709S	0x003f	BCM5709S
164model xxBROADCOM2 BCM53115	0x0038	BCM53115
165model xxBROADCOM3 BCM57780	0x0019	BCM57780
166model xxBROADCOM3 BCM5717C	0x0020	BCM5717C
167model xxBROADCOM3 BCM5719C	0x0022	BCM5719C
168model xxBROADCOM3 BCM57765	0x0024	BCM57765
169model xxBROADCOM3 BCM5720C	0x0036	BCM5720C
170model xxBROADCOM4 BCM54210E	0x000a  BCM54210E
171model xxBROADCOM4 BCM5725	0x0038	BCM5725
172model BROADCOM BCM5400		0x0004	BCM5400
173model BROADCOM BCM5401		0x0005	BCM5401
174model BROADCOM BCM5411		0x0007	BCM5411
175model BROADCOM 3C905B		0x0012	3C905B internal
176model BROADCOM 3C905C		0x0017	3C905C internal
177model BROADCOM BCM5221		0x001e	BCM5221
178model BROADCOM BCM5201		0x0021	BCM5201
179model BROADCOM BCM5214		0x0028	BCM5214 Quad
180model BROADCOM BCM5222		0x0032	BCM5222 Dual
181model BROADCOM BCM5220		0x0033	BCM5220
182model BROADCOM BCM4401		0x0036	BCM4401
183model BROADCOM2 BCM5906		0x0004	BCM5906
184
185/* Cicada (now owned by Vitesse) */
186model xxCICADA CS8201B		0x0021	CS8201
187model CICADA CS8201		0x0001	CS8201
188model CICADA CS8204		0x0004	CS8204
189model CICADA VSC8211		0x000b	VSC8211
190model CICADA CS8201A		0x0020	CS8201
191model CICADA CS8201B		0x0021	CS8201
192model CICADA CS8244		0x002c	CS8244
193
194/* Davicom */
195model xxDAVICOM DM9101		0x0000	DM9101
196model DAVICOM DM9102		0x0004	DM9102
197model DAVICOM DM9601		0x000c	DM9601
198
199/* Contrived vendor/model for dcphy */
200model xxDEC xxDC		0x0001	DC
201
202/* Enable Semi. (Agere) */
203model ENABLESEMI LU3X31FT	0x0001	LU3X31FT
204model ENABLESEMI LU3X31T2	0x0002	LU3X31T2
205model ENABLESEMI 88E1000S	0x0004	88E1000S
206model ENABLESEMI 88E1000	0x0005	88E1000
207
208/* IC Plus */
209model ICPLUS IP100		0x0004	IP100
210model ICPLUS IP101		0x0005	IP101
211model ICPLUS IP1000A		0x0008	IP1000A
212model ICPLUS IP1001		0x0019	IP1001
213
214/* Integrated Circuit Systems */
215model xxICS 1890		0x0002	ICS1890
216model xxICS 1892		0x0003	ICS1892
217model xxICS 1893		0x0004	ICS1893
218
219/* Intel */
220model xxINTEL I82553		0x0000	i82553
221model INTEL I82555		0x0015	i82555
222model INTEL I82562G		0x0031	i82562G
223model INTEL I82562EM		0x0032	i82562EM
224model INTEL I82562ET		0x0033	i82562ET
225model INTEL I82553		0x0035	i82553
226
227/* Jato Technologies */
228model JATO BASEX		0x0000	Jato
229
230/* JMicron */
231model JMICRON JMP211		0x0021	JMP211
232model JMICRON JMP202		0x0022	JMP202
233
234/* Level 1 */
235model xxLEVEL1 LXT970		0x0000	LXT970
236model xxLEVEL1a LXT971		0x000e	LXT971
237model LEVEL1 LXT1000_OLD	0x0003	LXT1000
238model LEVEL1 LXT1000		0x000c	LXT1000
239
240/* Lucent */
241model LUCENT LU6612		0x000c	LU6612
242model LUCENT LU3X51FT		0x0033	LU3X51FT
243model LUCENT LU3X54FT		0x0036	LU3X54FT
244
245/* Marvell */
246model xxMARVELL E1000_5		0x0002	88E1000 5
247model xxMARVELL E1000_6		0x0003	88E1000 6
248model xxMARVELL E1000_7		0x0005	88E1000 7
249model xxMARVELL E1111		0x000c	88E1111
250model MARVELL E1000_1		0x0000	88E1000 1
251model MARVELL E1011		0x0002	88E1011
252model MARVELL E1000_2		0x0003	88E1000 2
253model MARVELL E1000S		0x0004	88E1000S
254model MARVELL E1000_3		0x0005	88E1000 3
255model MARVELL E1000_4		0x0006	88E1000 4
256model MARVELL E3082		0x0008	88E3082
257model MARVELL E1112		0x0009	88E1112
258model MARVELL E1149		0x000b	88E1149
259model MARVELL E1111		0x000c	88E1111
260model MARVELL E1512		0x001d	88E1512
261model MARVELL E1116		0x0021	88E1116
262model MARVELL E1118		0x0022	88E1118
263model MARVELL E1116R		0x0024	88E1116R
264model MARVELL E3016		0x0026	88E3016
265model MARVELL PHYG65G		0x0027	PHYG65G
266model MARVELL E1545		0x002a	88E1545 Quad
267
268/* Micrel */
269model MICREL KSZ9021		0x0021	KSZ9021
270model MICREL KSZ9031		0x0022	KSZ9031
271
272/* Motorcomm */
273model MOTORCOMM YT8531		0x0011	YT8531
274
275/* Myson */
276model MYSON MTD972		0x0000	MTD972
277
278/* National Semi. */
279model NATSEMI DP83840		0x0000	DP83840
280model NATSEMI DP83843		0x0001	DP83843
281model NATSEMI DP83815		0x0002	DP83815
282model NATSEMI DP83847		0x0003	DP83847
283model NATSEMI DP83891		0x0005	DP83891
284model NATSEMI DP83861		0x0006	DP83861
285model NATSEMI DP83865		0x0007	DP83865
286
287/* Plessey Semi. */
288model PLESSEY NWK914		0x0000	NWK914
289
290/* Quality Semi. */
291model QUALITYSEMI QS6612	0x0000	QS6612
292
293/* RDC Semi. */
294model RDC R6040			0x0003	R6040
295model RDC R6040_2		0x0005	R6040
296
297/* Realtek */
298model xxREALTEK RTL8251		0x0000	RTL8251
299model xxREALTEK RTL8211FVD	0x0007	RTL8211F-VD
300model xxREALTEK RTL8201E	0x0008	RTL8201E
301model xxREALTEK RTL8169S	0x0011	RTL8169S/8110S/8211
302model REALTEK RTL8201L		0x0020	RTL8201L
303
304/* Seeq */
305model xxSEEQ 80220		0x0003	80220
306model xxSEEQ 84220		0x0004	84220
307model xxSEEQ 80225		0x0008	80225
308
309/* Silicon Integrated Systems */
310model xxSIS 900			0x0000	900
311
312/* Standard Microsystems */
313model SMSC LAN83C185		0x000a	LAN83C185
314
315/* Texas Instruments */
316model xxTI TLAN10T		0x0001	ThunderLAN
317model xxTI 100VGPMI		0x0002	ThunderLAN
318model xxTI TNETE2101		0x0003	TNETE2101
319
320/* TDK */
321model TDK 78Q2120		0x0014	78Q2120
322model TDK 78Q2121		0x0015	78Q2121
323
324/* VIA Networking */
325model VIA VT6103		0x0032	VT6103
326model VIA VT6103_2		0x0034	VT6103
327
328/* Vitesse */
329model VITESSE VSC8601		0x0002	VSC8601
330
331/* XaQti */
332model XAQTI XMACII		0x0000	XMAC II
333