diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-05-29 06:20:03 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-05-29 06:20:03 +0000 |
commit | fb75d9ed7be98ad5ae7f17b9d1b3d594c99139b1 (patch) | |
tree | 75544b0b9b3734f1b1789bbfc70920d79e9c4887 | |
parent | 0883004db3f8b4327d47f39c2726362589c1bd0b (diff) |
Recognize the Cicada CS8204 quad port PHY.
From FreeBSD
ok dlg@
-rw-r--r-- | sys/dev/mii/ciphy.c | 5 |
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); |