summaryrefslogtreecommitdiff
path: root/sys/dev/mii/ciphy.c
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-07-30 09:24:27 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-07-30 09:24:27 +0000
commit2b206bcfffff8f05fef23044caed2f509d2531fb (patch)
treee1e785b8ce3f124004c74d38fc0c64f42e1620c7 /sys/dev/mii/ciphy.c
parente5d0c0ccc9a1c26cef89275f698ee5f98a95a79b (diff)
Attach to VSC8211, CS8244, VSC8601 PHYs. From Brad.
Diffstat (limited to 'sys/dev/mii/ciphy.c')
-rw-r--r--sys/dev/mii/ciphy.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/dev/mii/ciphy.c b/sys/dev/mii/ciphy.c
index 1a7085878fa..430e62c0728 100644
--- a/sys/dev/mii/ciphy.c
+++ b/sys/dev/mii/ciphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ciphy.c,v 1.21 2008/09/17 07:19:19 brad Exp $ */
+/* $OpenBSD: ciphy.c,v 1.22 2009/07/30 09:24:26 sthen Exp $ */
/* $FreeBSD: ciphy.c,v 1.1 2004/09/10 20:57:45 wpaul Exp $ */
/*
* Copyright (c) 2004
@@ -87,8 +87,14 @@ static const struct mii_phydesc ciphys[] = {
MII_STR_CICADA_CS8201B },
{ MII_OUI_CICADA, MII_MODEL_CICADA_CS8204,
MII_STR_CICADA_CS8204 },
+ { MII_OUI_CICADA, MII_MODEL_CICADA_VSC8211,
+ MII_STR_CICADA_VSC8211 },
+ { MII_OUI_CICADA, MII_MODEL_CICADA_CS8244,
+ MII_STR_CICADA_CS8244 },
{ MII_OUI_xxCICADA, MII_MODEL_xxCICADA_CS8201B,
MII_STR_xxCICADA_CS8201B },
+ { MII_OUI_VITESSE, MII_MODEL_VITESSE_VSC8601,
+ MII_STR_VITESSE_VSC8601 },
{ 0, 0,
NULL },
@@ -363,6 +369,10 @@ ciphy_fixup(struct mii_softc *sc)
}
break;
+ case MII_MODEL_CICADA_VSC8211:
+ case MII_MODEL_CICADA_CS8244:
+ case MII_MODEL_VITESSE_VSC8601:
+ break;
default:
printf("%s: unknown CICADA PHY model %x\n",
sc->mii_dev.dv_xname, model);