summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2005-08-02 03:46:08 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2005-08-02 03:46:08 +0000
commitbd950ba4b0fee3335591d6b5aea9125623f05d2f (patch)
tree3f9d2f62b153f181ee06f1d0d7540ca5401d0b5b /sys
parent05d67ebf5c1ed3821fac7d4eaf1d7de89bbcefe8 (diff)
an alternative Cicada OUI (for CS8201B PHY) spotted in a VIA VT6122
from NetBSD PR 29705 (Tomokazu HARADA), pointed out by jsg
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/mii/ciphy.c4
-rw-r--r--sys/dev/mii/miidevs5
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/mii/ciphy.c b/sys/dev/mii/ciphy.c
index 59959794d8b..4971ba00012 100644
--- a/sys/dev/mii/ciphy.c
+++ b/sys/dev/mii/ciphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ciphy.c,v 1.7 2005/05/27 08:04:15 brad Exp $ */
+/* $OpenBSD: ciphy.c,v 1.8 2005/08/02 03:46:07 pvalchev Exp $ */
/* $FreeBSD: ciphy.c,v 1.1 2004/09/10 20:57:45 wpaul Exp $ */
/*
* Copyright (c) 2004
@@ -92,6 +92,8 @@ static const struct mii_phydesc ciphys[] = {
MII_STR_CICADA_CS8201A },
{ MII_OUI_CICADA, MII_MODEL_CICADA_CS8201B,
MII_STR_CICADA_CS8201B },
+ { MII_OUI_xxCICADA, MII_MODEL_CICADA_CS8201B,
+ MII_STR_CICADA_CS8201B },
{ 0, 0,
NULL },
diff --git a/sys/dev/mii/miidevs b/sys/dev/mii/miidevs
index 4b806e61df7..03a5df4824c 100644
--- a/sys/dev/mii/miidevs
+++ b/sys/dev/mii/miidevs
@@ -1,4 +1,4 @@
-$OpenBSD: miidevs,v 1.59 2005/08/02 00:19:36 jsg Exp $
+$OpenBSD: miidevs,v 1.60 2005/08/02 03:46:07 pvalchev Exp $
/* $NetBSD: miidevs,v 1.3 1998/11/05 03:43:43 thorpej Exp $ */
/*-
@@ -70,8 +70,8 @@ oui XAQTI 0x00e0ae XaQti Corp.
/* in the 79c873, AMD uses another OUI (which matches Davicom!) */
oui xxALTIMA 0x000895 Altima Communications
oui xxAMD 0x00606e Advanced Micro Devices
-
oui xxINTEL 0x00f800 Intel (alt)
+oui xxCICADA 0x00c08f Cicada Semiconductor (alt)
/* some vendors have the bits swapped within bytes
(ie, ordered as on the wire) */
@@ -139,6 +139,7 @@ model BROADCOM BCM4401 0x0036 BCM4401 10/100baseTX PHY
model CICADA CS8201 0x0001 Cicada CS8201 10/100/1000TX PHY
model CICADA CS8201A 0x0020 Cicada CS8201 10/100/1000TX PHY
model CICADA CS8201B 0x0021 Cicada CS8201 10/100/1000TX PHY
+model xxCICADA CS8201B 0x0021 Cicada CS8201 10/100/1000TX PHY
/* Davicom Semiconductor PHYs */
model xxDAVICOM DM9101 0x0000 DM9101 10/100 PHY