diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 7cc5bb7d5ade..45366ea51e5c 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -115,6 +115,12 @@ static int brgphy_probe(dev) return(0); } + if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxBROADCOM && + MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5701) { + device_set_desc(dev, MII_STR_xxBROADCOM_BCM5701); + return(0); + } + return(ENXIO); } diff --git a/sys/dev/mii/miidevs b/sys/dev/mii/miidevs index 91acbb1fd96b..081ea1f5e394 100644 --- a/sys/dev/mii/miidevs +++ b/sys/dev/mii/miidevs @@ -108,6 +108,7 @@ model BROADCOM 3c905Cphy 0x0017 3c905C 10/100 internal PHY model xxBROADCOM BCM5400 0x0004 Broadcom 1000baseTX PHY model xxBROADCOM BCM5401 0x0005 BCM5401 10/100/1000baseTX PHY model xxBROADCOM BCM5411 0x0007 BCM5411 10/100/1000baseTX PHY +model xxBROADCOM BCM5701 0x0011 BCM5701 10/100/1000baseTX PHY /* Davicom Semiconductor PHYs */ model xxDAVICOM DM9101 0x0000 DM9101 10/100 media interface