From 0fe225d4f30a92cca5b47df516809dd0feb50bfe Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Wed, 20 Nov 2002 14:14:22 +0000 Subject: Add another model --- sys/dev/mii/brgphy.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sys/dev/mii/brgphy.c') 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)); -- cgit v1.2.3