Added Altima Communications OUI and their AC101 10/100

media interface to the list of known chips.

miidevs.h regenerated also.
This commit is contained in:
Semen Ustimenko 2000-06-21 19:26:01 +00:00
parent afb279b54b
commit 95a4de30e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61907
3 changed files with 14 additions and 0 deletions

View File

@ -49,6 +49,7 @@ $FreeBSD$
* mangled accordingly to compensate.
*/
oui ALTIMA 0x0010a9 Altima Communications
oui AMD 0x00001a Advanced Micro Devices
oui BROADCOM 0x001018 Broadcom Corporation
oui DAVICOM 0x00606e Davicom Semiconductor
@ -67,6 +68,7 @@ oui xxAMD 0x00606e Advanced Micro Devices
/* some vendors have the bits swapped within bytes
(ie, ordered as on the wire) */
oui xxALTIMA 0x000895 Altima Communications
oui xxBROADCOM 0x000818 Broadcom Corporation
oui xxICS 0x00057d Integrated Circuit Systems
oui xxSEEQ 0x0005be Seeq
@ -86,6 +88,9 @@ oui xxDAVICOM 0x006040 Davicom Semiconductor
* List of known models. Grouped by oui.
*/
/* Altima Communications PHYs */
model xxALTIMA AC101 0x0021 AC101 10/100 media interface
/* Advanced Micro Devices PHYs */
model xxAMD 79C873 0x0000 Am79C873 10/100 media interface
model AMD 79c973phy 0x0036 Am79c973 internal PHY

View File

@ -56,6 +56,7 @@
* mangled accordingly to compensate.
*/
#define MII_OUI_ALTIMA 0x0010a9 /* Altima Communications */
#define MII_OUI_AMD 0x00001a /* Advanced Micro Devices */
#define MII_OUI_BROADCOM 0x001018 /* Broadcom Corporation */
#define MII_OUI_DAVICOM 0x00606e /* Davicom Semiconductor */
@ -74,6 +75,7 @@
/* some vendors have the bits swapped within bytes
(ie, ordered as on the wire) */
#define MII_OUI_xxALTIMA 0x000895 /* Altima Communications */
#define MII_OUI_xxBROADCOM 0x000818 /* Broadcom Corporation */
#define MII_OUI_xxICS 0x00057d /* Integrated Circuit Systems */
#define MII_OUI_xxSEEQ 0x0005be /* Seeq */
@ -93,6 +95,10 @@
* List of known models. Grouped by oui.
*/
/* Altima Communications PHYs */
#define MII_MODEL_xxALTIMA_AC101 0x0021
#define MII_STR_xxALTIMA_AC101 "AC101 10/100 media interface"
/* Advanced Micro Devices PHYs */
#define MII_MODEL_xxAMD_79C873 0x0000
#define MII_STR_xxAMD_79C873 "Am79C873 10/100 media interface"

View File

@ -134,6 +134,9 @@ static int nsphy_probe(dev)
} else if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_QUALSEMI &&
MII_MODEL(ma->mii_id2) == MII_MODEL_QUALSEMI_QS6612) {
device_set_desc(dev, MII_STR_QUALSEMI_QS6612);
} else if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxALTIMA &&
MII_MODEL(ma->mii_id2) == MII_MODEL_xxALTIMA_AC101) {
device_set_desc(dev, MII_STR_xxALTIMA_AC101);
} else
return (ENXIO);