summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-05-29 06:20:03 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-05-29 06:20:03 +0000
commitfb75d9ed7be98ad5ae7f17b9d1b3d594c99139b1 (patch)
tree75544b0b9b3734f1b1789bbfc70920d79e9c4887
parent0883004db3f8b4327d47f39c2726362589c1bd0b (diff)
Recognize the Cicada CS8204 quad port PHY.
From FreeBSD ok dlg@
-rw-r--r--sys/dev/mii/ciphy.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/mii/ciphy.c b/sys/dev/mii/ciphy.c
index 245618dc8a1..26d38617d41 100644
--- a/sys/dev/mii/ciphy.c
+++ b/sys/dev/mii/ciphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ciphy.c,v 1.18 2006/12/31 15:04:33 krw Exp $ */
+/* $OpenBSD: ciphy.c,v 1.19 2008/05/29 06:20:02 brad 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_CICADA, MII_MODEL_CICADA_CS8204,
+ MII_STR_CICADA_CS8204 },
{ MII_OUI_xxCICADA, MII_MODEL_xxCICADA_CS8201B,
MII_STR_xxCICADA_CS8201B },
@@ -333,6 +335,7 @@ ciphy_fixup(struct mii_softc *sc)
switch (model) {
case MII_MODEL_CICADA_CS8201:
+ case MII_MODEL_CICADA_CS8204:
/* Turn off "aux mode" (whatever that means) */
PHY_SETBIT(sc, CIPHY_MII_AUXCSR, CIPHY_AUXCSR_MDPPS);