| @@ -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 | |
48 | oui ALTIMA 0x0010a9 Altima Communications | | 52 | oui ALTIMA 0x0010a9 Altima Communications |
49 | oui AMD 0x00001a Advanced Micro Devices | | 53 | oui AMD 0x00001a Advanced Micro Devices |
| | | 54 | oui ATHEROS 0x001374 Atheros |
| | | 55 | oui ATTANSIC 0x00c82e Attansic Technology |
50 | oui BROADCOM 0x001018 Broadcom Corporation | | 56 | oui BROADCOM 0x001018 Broadcom Corporation |
51 | oui BROADCOM2 0x000af7 Broadcom Corporation | | 57 | oui BROADCOM2 0x000af7 Broadcom Corporation |
52 | oui CICADA 0x0003F1 Cicada Semiconductor | | 58 | oui CICADA 0x0003F1 Cicada Semiconductor |
53 | oui DAVICOM 0x00606e Davicom Semiconductor | | 59 | oui DAVICOM 0x00606e Davicom Semiconductor |
54 | oui ENABLESEMI 0x0010dd Enable Semiconductor | | 60 | oui ENABLESEMI 0x0010dd Enable Semiconductor |
55 | oui ICPLUS 0x0090c3 IC Plus Corp. | | 61 | oui ICPLUS 0x0090c3 IC Plus Corp. |
56 | oui ICS 0x00a0be Integrated Circuit Systems | | 62 | oui ICS 0x00a0be Integrated Circuit Systems |
57 | oui INTEL 0x00aa00 Intel | | 63 | oui INTEL 0x00aa00 Intel |
58 | oui JMICRON 0x00d831 JMicron | | 64 | oui JMICRON 0x00d831 JMicron |
59 | oui LEVEL1 0x00207b Level 1 | | 65 | oui LEVEL1 0x00207b Level 1 |
60 | oui MARVELL 0x005043 Marvell Semiconductor | | 66 | oui MARVELL 0x005043 Marvell Semiconductor |
61 | oui MYSON 0x00c0b4 Myson Technology | | 67 | oui MYSON 0x00c0b4 Myson Technology |
62 | oui NATSEMI 0x080017 National Semiconductor | | 68 | oui NATSEMI 0x080017 National Semiconductor |
| @@ -91,26 +97,34 @@ oui xxTSC 0x00039c TDK Semiconductor | | | @@ -91,26 +97,34 @@ oui xxTSC 0x00039c TDK Semiconductor |
91 | oui xxLEVEL1 0x782000 Level 1 | | 97 | oui xxLEVEL1 0x782000 Level 1 |
92 | oui xxXAQTI 0xace000 XaQti Corp. | | 98 | oui xxXAQTI 0xace000 XaQti Corp. |
93 | | | 99 | |
94 | /* Don't know what's going on here. */ | | 100 | /* Don't know what's going on here. */ |
95 | oui xxPMCSIERRA 0x0009c0 PMC-Sierra | | 101 | oui xxPMCSIERRA 0x0009c0 PMC-Sierra |
96 | oui xxPMCSIERRA2 0x009057 PMC-Sierra | | 102 | oui xxPMCSIERRA2 0x009057 PMC-Sierra |
97 | | | 103 | |
98 | oui xxREALTEK 0x000732 Realtek | | 104 | oui xxREALTEK 0x000732 Realtek |
99 | oui yyREALTEK 0x000004 Realtek | | 105 | oui 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 */ |
| | | 111 | model ATHEROS F1 0x0001 F1 10/100/1000 PHY |
| | | 112 | model ATHEROS F2 0x0002 F2 10/100 PHY |
| | | 113 | |
| | | 114 | /* Attansic PHYs */ |
| | | 115 | model ATTANSIC L1 0x0001 L1 10/100/1000 PHY |
| | | 116 | model 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 */ |
106 | model ALTIMA ACXXX 0x0001 ACXXX 10/100 media interface | | 120 | model ALTIMA ACXXX 0x0001 ACXXX 10/100 media interface |
107 | model ALTIMA AC101 0x0021 AC101 10/100 media interface | | 121 | model ALTIMA AC101 0x0021 AC101 10/100 media interface |
108 | model ALTIMA AC101L 0x0012 AC101L 10/100 media interface | | 122 | model ALTIMA AC101L 0x0012 AC101L 10/100 media interface |
109 | /* AMD Am79C87[45] have ALTIMA OUI */ | | 123 | /* AMD Am79C87[45] have ALTIMA OUI */ |
110 | model ALTIMA Am79C875 0x0014 Am79C875 10/100 media interface | | 124 | model ALTIMA Am79C875 0x0014 Am79C875 10/100 media interface |
111 | model ALTIMA Am79C874 0x0021 Am79C874 10/100 media interface | | 125 | model 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 */ |
115 | model yyAMD 79C972_10T 0x0001 Am79C972 internal 10BASE-T interface | | 129 | model yyAMD 79C972_10T 0x0001 Am79C972 internal 10BASE-T interface |
116 | model yyAMD 79c973phy 0x0036 Am79C973 internal 10/100 media interface | | 130 | model yyAMD 79c973phy 0x0036 Am79C973 internal 10/100 media interface |