mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Add basic support for BCM5780 PHY.
Submitted by: grehan Approved by: glebius (mentor) MFC after: 1 week
This commit is contained in:
parent
f557468cb8
commit
f78e78fd2f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157041
@ -158,6 +158,12 @@ brgphy_probe(device_t dev)
|
||||
return(0);
|
||||
}
|
||||
|
||||
if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxBROADCOM &&
|
||||
MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5780) {
|
||||
device_set_desc(dev, MII_STR_xxBROADCOM_BCM5780);
|
||||
return(0);
|
||||
}
|
||||
|
||||
return(ENXIO);
|
||||
}
|
||||
|
||||
@ -633,6 +639,7 @@ brgphy_reset(struct mii_softc *sc)
|
||||
break;
|
||||
case MII_MODEL_xxBROADCOM_BCM5750:
|
||||
case MII_MODEL_xxBROADCOM_BCM5714:
|
||||
case MII_MODEL_xxBROADCOM_BCM5780:
|
||||
bcm5750_load_dspcode(sc);
|
||||
break;
|
||||
}
|
||||
|
@ -123,6 +123,7 @@ model xxBROADCOM BCM5704 0x0019 BCM5704 10/100/1000baseTX PHY
|
||||
model xxBROADCOM BCM5705 0x001a BCM5705 10/100/1000baseTX PHY
|
||||
model xxBROADCOM BCM5750 0x0018 BCM5750 10/100/1000baseTX PHY
|
||||
model xxBROADCOM BCM5714 0x0034 BCM5714 10/100/1000baseTX PHY
|
||||
model xxBROADCOM BCM5780 0x0035 BCM5780 10/100/1000baseTX PHY
|
||||
|
||||
/* Cicada Semiconductor PHYs (now owned by Vitesse?) */
|
||||
model CICADA CS8201 0x0001 Cicada CS8201 10/100/1000TX PHY
|
||||
|
Loading…
Reference in New Issue
Block a user