miidevs revision 50120
150120Swpaul$Id$
250120Swpaul/*$NetBSD: miidevs,v 1.6 1999/05/14 11:37:30 drochner Exp $*/
350120Swpaul
450120Swpaul/*-
550120Swpaul * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
650120Swpaul * All rights reserved.
750120Swpaul *
850120Swpaul * This code is derived from software contributed to The NetBSD Foundation
950120Swpaul * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
1050120Swpaul * NASA Ames Research Center.
1150120Swpaul *
1250120Swpaul * Redistribution and use in source and binary forms, with or without
1350120Swpaul * modification, are permitted provided that the following conditions
1450120Swpaul * are met:
1550120Swpaul * 1. Redistributions of source code must retain the above copyright
1650120Swpaul *    notice, this list of conditions and the following disclaimer.
1750120Swpaul * 2. Redistributions in binary form must reproduce the above copyright
1850120Swpaul *    notice, this list of conditions and the following disclaimer in the
1950120Swpaul *    documentation and/or other materials provided with the distribution.
2050120Swpaul * 3. All advertising materials mentioning features or use of this software
2150120Swpaul *    must display the following acknowledgement:
2250120Swpaul *	This product includes software developed by the NetBSD
2350120Swpaul *	Foundation, Inc. and its contributors.
2450120Swpaul * 4. Neither the name of The NetBSD Foundation nor the names of its
2550120Swpaul *    contributors may be used to endorse or promote products derived
2650120Swpaul *    from this software without specific prior written permission.
2750120Swpaul *
2850120Swpaul * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
2950120Swpaul * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
3050120Swpaul * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3150120Swpaul * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
3250120Swpaul * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
3350120Swpaul * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
3450120Swpaul * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
3550120Swpaul * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
3650120Swpaul * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
3750120Swpaul * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3850120Swpaul * POSSIBILITY OF SUCH DAMAGE.
3950120Swpaul */
4050120Swpaul
4150120Swpaul/*
4250120Swpaul * List of known MII OUIs.
4350120Swpaul * For a complete list see http://standards.ieee.org/regauth/oui/
4450120Swpaul *
4550120Swpaul * XXX Vendors do obviously not agree how OUIs (18 bit) are mapped
4650120Swpaul * to the 16 bits available in the id registers. The MII_OUI() macro
4750120Swpaul * in "mii.h" reflects the most obvious way. If a vendor uses a
4850120Swpaul * different mapping, an "xx" prefixed OUI is defined here which is
4950120Swpaul * mangled accordingly to compensate.
5050120Swpaul */
5150120Swpaul
5250120Swpauloui AMD				0x00001a	Advanced Micro Devices
5350120Swpauloui DAVICOM			0x00606e	Davicom Semiconductor
5450120Swpauloui ICS				0x00a0be	Integrated Circuit Systems
5550120Swpauloui INTEL			0x00aa00	Intel
5650120Swpauloui LEVEL1			0x00207b	Level 1
5750120Swpauloui NATSEMI			0x080017	National Semiconductor
5850120Swpauloui QUALSEMI			0x006051	Quality Semiconductor
5950120Swpauloui SEEQ			0x00a07d	Seeq
6050120Swpauloui SIS				0x00e006	Silicon Integrated Systems
6150120Swpauloui TI				0x080028	Texas Instruments
6250120Swpaul
6350120Swpaul
6450120Swpaul/* in the 79c873, AMD uses another OUI (which matches Davicom!) */
6550120Swpauloui xxAMD			0x00606e	Advanced Micro Devices
6650120Swpaul
6750120Swpaul/* some vendors have the bits swapped within bytes
6850120Swpaul	(ie, ordered as on the wire) */
6950120Swpauloui xxICS			0x00057d	Integrated Circuit Systems
7050120Swpauloui xxSEEQ			0x0005be	Seeq
7150120Swpauloui xxSIS			0x000760	Silicon Integrated Systems
7250120Swpauloui xxTI			0x100014	Texas Instruments
7350120Swpaul
7450120Swpaul/* Level 1 is completely different - from right to left.
7550120Swpaul	(Two bits get lost in the third OUI byte.) */
7650120Swpauloui xxLEVEL1			0x1e0400	Level 1
7750120Swpaul
7850120Swpaul/* Don't know what's going on here. */
7950120Swpauloui xxDAVICOM			0x006040	Davicom Semiconductor
8050120Swpaul
8150120Swpaul
8250120Swpaul/*
8350120Swpaul * List of known models.  Grouped by oui.
8450120Swpaul */
8550120Swpaul
8650120Swpaul/* Advanced Micro Devices PHYs */
8750120Swpaulmodel xxAMD 79C873		0x0000 Am79C873 10/100 media interface
8850120Swpaulmodel AMD 79c973phy		0x0036 Am79c973 internal PHY
8950120Swpaul
9050120Swpaul/* Davicom Semiconductor PHYs */
9150120Swpaulmodel xxDAVICOM DM9101		0x0000 DM9101 10/100 media interface
9250120Swpaul
9350120Swpaul/* Integrated Circuit Systems PHYs */
9450120Swpaulmodel xxICS 1890		0x0002 ICS1890 10/100 media interface
9550120Swpaul
9650120Swpaul/* Intel PHYs */
9750120Swpaulmodel INTEL I82555		0x0015 i82555 10/100 media interface
9850120Swpaul
9950120Swpaul/* Level 1 PHYs */
10050120Swpaulmodel xxLEVEL1 LXT970		0x0000 LXT970 10/100 media interface
10150120Swpaul
10250120Swpaul/* National Semiconductor PHYs */
10350120Swpaulmodel NATSEMI DP83840		0x0000 DP83840 10/100 media interface
10450120Swpaulmodel NATSEMI DP83843		0x0001 DP83843 10/100 media interface
10550120Swpaul
10650120Swpaul/* Quality Semiconductor PHYs */
10750120Swpaulmodel QUALSEMI QS6612		0x0000 QS6612 10/100 media interface
10850120Swpaul
10950120Swpaul/* Seeq PHYs */
11050120Swpaulmodel xxSEEQ 80220		0x0003 Seeq 80220 10/100 media interface
11150120Swpaulmodel xxSEEQ 84220		0x0004 Seeq 84220 10/100 media interface
11250120Swpaul
11350120Swpaul/* Silicon Integrated Systems PHYs */
11450120Swpaulmodel xxSIS 900			0x0000 SiS 900 10/100 media interface
11550120Swpaul
11650120Swpaul/* Texas Instruments PHYs */
11750120Swpaulmodel xxTI TLAN10T		0x0001 ThunderLAN 10baseT media interface
11850120Swpaulmodel xxTI 100VGPMI		0x0002 ThunderLAN 100VG-AnyLan media interface
119