Sun May 3 23:09:12 2009 UTC ()
Pull up following revision(s) (requested by sborrill in ticket #721):
	sys/dev/mii/miidevs: revision 1.81-1.83
Add ATHEROS F1 and F2 PHYs.
Add ATTANSIC and their L1/L2 PHYs.
Add a comment explaining how to regenerate miidevs.h and miidevs_data.h.


(snj)
diff -r1.78 -r1.78.4.1 src/sys/dev/mii/miidevs

cvs diff -r1.78 -r1.78.4.1 src/sys/dev/mii/miidevs (expand / switch to unified diff)

--- src/sys/dev/mii/miidevs 2008/09/28 18:30:11 1.78
+++ src/sys/dev/mii/miidevs 2009/05/03 23:09:12 1.78.4.1
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1$NetBSD: miidevs,v 1.78 2008/09/28 18:30:11 bouyer Exp $ 1$NetBSD: miidevs,v 1.78.4.1 2009/05/03 23:09:12 snj Exp $
2 2
3/*- 3/*-
4 * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. 4 * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 8 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
9 * NASA Ames Research Center. 9 * NASA Ames Research Center.
10 * 10 *
11 * Redistribution and use in source and binary forms, with or without 11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions 12 * modification, are permitted provided that the following conditions
13 * are met: 13 * are met:
14 * 1. Redistributions of source code must retain the above copyright 14 * 1. Redistributions of source code must retain the above copyright
@@ -35,28 +35,34 @@ $NetBSD: miidevs,v 1.78 2008/09/28 18:30 @@ -35,28 +35,34 @@ $NetBSD: miidevs,v 1.78 2008/09/28 18:30
35 * For a complete list see http://standards.ieee.org/regauth/oui/ 35 * For a complete list see http://standards.ieee.org/regauth/oui/
36 * 36 *
37 * XXX Vendors do obviously not agree how OUIs (24 bit) are mapped 37 * XXX Vendors do obviously not agree how OUIs (24 bit) are mapped
38 * to the 22 bits available in the id registers. 38 * to the 22 bits available in the id registers.
39 * IEEE 802.3u-1995, subclause 22.2.4.3.1, figure 22-12, depicts the right 39 * IEEE 802.3u-1995, subclause 22.2.4.3.1, figure 22-12, depicts the right
40 * mapping; the bit positions are defined in IEEE 802-1990, figure 5.2. 40 * mapping; the bit positions are defined in IEEE 802-1990, figure 5.2.
41 * (There is a formal 802.3 interpretation, number 1-07/98 of July 09 1998, 41 * (There is a formal 802.3 interpretation, number 1-07/98 of July 09 1998,
42 * about this.) 42 * about this.)
43 * The MII_OUI() macro in "mii.h" reflects this. 43 * The MII_OUI() macro in "mii.h" reflects this.
44 * If a vendor uses a different mapping, an "xx" prefixed OUI is defined here 44 * If a vendor uses a different mapping, an "xx" prefixed OUI is defined here
45 * which is mangled accordingly to compensate. 45 * which is mangled accordingly to compensate.
46 */ 46 */
47 47
 48/*
 49* Use "make -f Makefile.miidevs" to regenerate miidevs.h and miidevs_data.h
 50*/
 51
48oui ALTIMA 0x0010a9 Altima Communications 52oui ALTIMA 0x0010a9 Altima Communications
49oui AMD 0x00001a Advanced Micro Devices 53oui AMD 0x00001a Advanced Micro Devices
 54oui ATHEROS 0x001374 Atheros
 55oui ATTANSIC 0x00c82e Attansic Technology
50oui BROADCOM 0x001018 Broadcom Corporation 56oui BROADCOM 0x001018 Broadcom Corporation
51oui BROADCOM2 0x000af7 Broadcom Corporation 57oui BROADCOM2 0x000af7 Broadcom Corporation
52oui CICADA 0x0003F1 Cicada Semiconductor 58oui CICADA 0x0003F1 Cicada Semiconductor
53oui DAVICOM 0x00606e Davicom Semiconductor 59oui DAVICOM 0x00606e Davicom Semiconductor
54oui ENABLESEMI 0x0010dd Enable Semiconductor 60oui ENABLESEMI 0x0010dd Enable Semiconductor
55oui ICPLUS 0x0090c3 IC Plus Corp. 61oui ICPLUS 0x0090c3 IC Plus Corp.
56oui ICS 0x00a0be Integrated Circuit Systems 62oui ICS 0x00a0be Integrated Circuit Systems
57oui INTEL 0x00aa00 Intel 63oui INTEL 0x00aa00 Intel
58oui JMICRON 0x00d831 JMicron 64oui JMICRON 0x00d831 JMicron
59oui LEVEL1 0x00207b Level 1 65oui LEVEL1 0x00207b Level 1
60oui MARVELL 0x005043 Marvell Semiconductor 66oui MARVELL 0x005043 Marvell Semiconductor
61oui MYSON 0x00c0b4 Myson Technology 67oui MYSON 0x00c0b4 Myson Technology
62oui NATSEMI 0x080017 National Semiconductor 68oui NATSEMI 0x080017 National Semiconductor
@@ -91,26 +97,34 @@ oui xxTSC 0x00039c TDK Semiconductor @@ -91,26 +97,34 @@ oui xxTSC 0x00039c TDK Semiconductor
91oui xxLEVEL1 0x782000 Level 1 97oui xxLEVEL1 0x782000 Level 1
92oui xxXAQTI 0xace000 XaQti Corp. 98oui xxXAQTI 0xace000 XaQti Corp.
93 99
94/* Don't know what's going on here. */ 100/* Don't know what's going on here. */
95oui xxPMCSIERRA 0x0009c0 PMC-Sierra 101oui xxPMCSIERRA 0x0009c0 PMC-Sierra
96oui xxPMCSIERRA2 0x009057 PMC-Sierra 102oui xxPMCSIERRA2 0x009057 PMC-Sierra
97 103
98oui xxREALTEK 0x000732 Realtek 104oui xxREALTEK 0x000732 Realtek
99oui yyREALTEK 0x000004 Realtek 105oui yyREALTEK 0x000004 Realtek
100/* 106/*
101 * List of known models. Grouped by oui. 107 * List of known models. Grouped by oui.
102 */ 108 */
103 109
 110/* Atheros PHYs */
 111model ATHEROS F1 0x0001 F1 10/100/1000 PHY
 112model ATHEROS F2 0x0002 F2 10/100 PHY
 113
 114/* Attansic PHYs */
 115model ATTANSIC L1 0x0001 L1 10/100/1000 PHY
 116model ATTANSIC L2 0x0002 L2 10/100 PHY
 117
104/* Altima Communications PHYs */ 118/* Altima Communications PHYs */
105/* Don't know the model for ACXXX */ 119/* Don't know the model for ACXXX */
106model ALTIMA ACXXX 0x0001 ACXXX 10/100 media interface 120model ALTIMA ACXXX 0x0001 ACXXX 10/100 media interface
107model ALTIMA AC101 0x0021 AC101 10/100 media interface 121model ALTIMA AC101 0x0021 AC101 10/100 media interface
108model ALTIMA AC101L 0x0012 AC101L 10/100 media interface 122model ALTIMA AC101L 0x0012 AC101L 10/100 media interface
109/* AMD Am79C87[45] have ALTIMA OUI */ 123/* AMD Am79C87[45] have ALTIMA OUI */
110model ALTIMA Am79C875 0x0014 Am79C875 10/100 media interface 124model ALTIMA Am79C875 0x0014 Am79C875 10/100 media interface
111model ALTIMA Am79C874 0x0021 Am79C874 10/100 media interface 125model ALTIMA Am79C874 0x0021 Am79C874 10/100 media interface
112 126
113/* Advanced Micro Devices PHYs */ 127/* Advanced Micro Devices PHYs */
114/* see Davicom DM9101 for Am79C873 */ 128/* see Davicom DM9101 for Am79C873 */
115model yyAMD 79C972_10T 0x0001 Am79C972 internal 10BASE-T interface 129model yyAMD 79C972_10T 0x0001 Am79C972 internal 10BASE-T interface
116model yyAMD 79c973phy 0x0036 Am79C973 internal 10/100 media interface 130model yyAMD 79c973phy 0x0036 Am79C973 internal 10/100 media interface