diff options
Diffstat (limited to 'sys/dev/mii/exphy.c')
-rw-r--r-- | sys/dev/mii/exphy.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/mii/exphy.c b/sys/dev/mii/exphy.c index 09b1ae3ca12..804c04fb990 100644 --- a/sys/dev/mii/exphy.c +++ b/sys/dev/mii/exphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exphy.c,v 1.11 2002/03/14 01:26:57 millert Exp $ */ +/* $OpenBSD: exphy.c,v 1.12 2003/02/13 06:02:09 fgsch Exp $ */ /* $NetBSD: exphy.c,v 1.23 2000/02/02 23:34:56 thorpej Exp $ */ /*- @@ -109,7 +109,8 @@ exphymatch(parent, match, aux) struct mii_attach_args *ma = aux; if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_BROADCOM && - MII_MODEL(ma->mii_id2) == MII_MODEL_BROADCOM_3C905C) + (MII_MODEL(ma->mii_id2) == MII_MODEL_BROADCOM_3C905B || + MII_MODEL(ma->mii_id2) == MII_MODEL_BROADCOM_3C905C)) return (10); /* @@ -141,6 +142,10 @@ exphyattach(parent, self, aux) MII_MODEL(ma->mii_id2) == 0) printf(": 3Com internal media interface\n"); else if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_BROADCOM && + MII_MODEL(ma->mii_id2) == MII_MODEL_BROADCOM_3C905B) + printf(": %s, rev. %d\n", MII_STR_BROADCOM_3C905B, + MII_REV(ma->mii_id2)); + else if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_BROADCOM && MII_MODEL(ma->mii_id2) == MII_MODEL_BROADCOM_3C905C) printf(": %s, rev. %d\n", MII_STR_BROADCOM_3C905C, MII_REV(ma->mii_id2)); |