summaryrefslogtreecommitdiff
path: root/sys/dev/mii/brgphy.c
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-04-02 17:24:25 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-04-02 17:24:25 +0000
commit984538ce344faf6beafb8eb290591a2b86e88bc3 (patch)
treebc2aab2c390d5d5dd199aff2c75270894e8bba57 /sys/dev/mii/brgphy.c
parent7b8eecc134579cd8bac2ea59f5776895a68fa634 (diff)
match on BCM5421S. ok deraadt
Diffstat (limited to 'sys/dev/mii/brgphy.c')
-rw-r--r--sys/dev/mii/brgphy.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c
index 3ce98207a90..9998540ad4b 100644
--- a/sys/dev/mii/brgphy.c
+++ b/sys/dev/mii/brgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brgphy.c,v 1.8 2002/03/14 01:26:57 millert Exp $ */
+/* $OpenBSD: brgphy.c,v 1.9 2002/04/02 17:24:24 drahn Exp $ */
/*
* Copyright (c) 2000
@@ -82,6 +82,7 @@ int brgphy_probe(parent, match, aux)
if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxBROADCOM &&
(MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5400 ||
+ MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5421S ||
MII_MODEL(ma->mii_id2) == MII_MODEL_BROADCOM_BCM5400 ||
MII_MODEL(ma->mii_id2) == MII_MODEL_BROADCOM_BCM5401 ||
MII_MODEL(ma->mii_id2) == MII_MODEL_BROADCOM_BCM5411))
@@ -107,6 +108,8 @@ brgphy_attach(parent, self, aux)
model = MII_STR_BROADCOM_BCM5401;
if (MII_MODEL(ma->mii_id2) == MII_MODEL_BROADCOM_BCM5411)
model = MII_STR_BROADCOM_BCM5411;
+ if (MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5421S)
+ model = MII_STR_xxBROADCOM_BCM5421S;
printf(": %s, rev. %d\n", model, MII_REV(ma->mii_id2));