Add basic support for BCM5780 PHY.

Submitted by:	grehan
Approved by:	glebius (mentor)
MFC after:	1 week
This commit is contained in:
oleg 2006-03-23 09:53:39 +00:00
parent 4da77db3b2
commit f7341a30ca
2 changed files with 8 additions and 0 deletions

View File

@ -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;
}

View File

@ -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