mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Teach the brgphy driver about the BCM5701's internal copper PHY.
This commit is contained in:
parent
44372e9d50
commit
15f962ed42
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92931
2 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue