diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2002-11-20 14:14:22 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2002-11-20 14:14:22 +0000 |
commit | 0fe225d4f30a92cca5b47df516809dd0feb50bfe (patch) | |
tree | c7d9ffb67500dcb0e00b5040b7fed2dbd29027bd /sys/dev/mii/brgphy.c | |
parent | 3f8cb254db5667a49d3c9fb76554ef34f9ffab52 (diff) |
Add another model
Diffstat (limited to 'sys/dev/mii/brgphy.c')
-rw-r--r-- | sys/dev/mii/brgphy.c | 7 |
1 files changed, 5 insertions, 2 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)); |