summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2002-11-20 14:14:22 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2002-11-20 14:14:22 +0000
commit0fe225d4f30a92cca5b47df516809dd0feb50bfe (patch)
treec7d9ffb67500dcb0e00b5040b7fed2dbd29027bd
parent3f8cb254db5667a49d3c9fb76554ef34f9ffab52 (diff)
Add another model
-rw-r--r--sys/dev/mii/brgphy.c7
-rw-r--r--sys/dev/mii/miidevs3
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c
index fed598a3e4d..0b5773ac5c7 100644
--- a/sys/dev/mii/brgphy.c
+++ b/sys/dev/mii/brgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brgphy.c,v 1.11 2002/05/04 11:30:06 fgsch Exp $ */
+/* $OpenBSD: brgphy.c,v 1.12 2002/11/20 14:14:21 nate Exp $ */
/*
* Copyright (c) 2000
@@ -85,7 +85,8 @@ int brgphy_probe(parent, match, aux)
MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5401 ||
MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5411 ||
MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5421S ||
- MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5701))
+ MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5701 ||
+ MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5703))
return(10);
return(0);
@@ -112,6 +113,8 @@ brgphy_attach(parent, self, aux)
model = MII_STR_xxBROADCOM_BCM5421S;
if (MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5701)
model = MII_STR_xxBROADCOM_BCM5701;
+ if (MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5703)
+ model = MII_STR_xxBROADCOM_BCM5703;
printf(": %s, rev. %d\n", model, MII_REV(ma->mii_id2));
diff --git a/sys/dev/mii/miidevs b/sys/dev/mii/miidevs
index d4c9c7e77be..56a5ceec44a 100644
--- a/sys/dev/mii/miidevs
+++ b/sys/dev/mii/miidevs
@@ -1,4 +1,4 @@
-$OpenBSD: miidevs,v 1.30 2002/04/08 20:54:09 nate Exp $
+$OpenBSD: miidevs,v 1.31 2002/11/20 14:14:21 nate Exp $
/* $NetBSD: miidevs,v 1.3 1998/11/05 03:43:43 thorpej Exp $ */
/*-
@@ -106,6 +106,7 @@ model xxBROADCOM BCM5401 0x0005 BCM5401 10/100/1000baseTX PHY
model xxBROADCOM BCM5411 0x0007 BCM5411 10/100/1000baseTX PHY
model xxBROADCOM BCM5421S 0x000e BCM5421S 10/100/1000baseTX PHY
model xxBROADCOM BCM5701 0x0011 BCM5701 10/100/1000baseTX PHY
+model xxBROADCOM BCM5703 0x0016 BCM5703 10/100/1000baseTX PHY
model BROADCOM BCM5400 0x0004 BCM5400 1000baseTX PHY
model BROADCOM BCM5401 0x0005 BCM5401 1000baseTX PHY
model BROADCOM BCM5411 0x0007 BCM5411 1000baseTX PHY