diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 2002-03-22 06:38:52 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 2002-03-22 06:38:52 +0000 |
| commit | 15f962ed42a259ccbb83bf305b886fd1a77d1ebb (patch) | |
| tree | 1dadbba8bf83b14a11fa6654eb0bbfc37fc05ca5 | |
| parent | 44372e9d5031d4532e52452284c57ac050aa69fc (diff) | |
Notes
| -rw-r--r-- | sys/dev/mii/brgphy.c | 6 | ||||
| -rw-r--r-- | sys/dev/mii/miidevs | 1 |
2 files changed, 7 insertions, 0 deletions
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 |
