The BCM5401 dspcode load on media changes also applies
to the 100/1000 BCM5400 phy. This fixes the problem with the GEM port not syncing up on Sawtooth G4's. Obtained from: NetBSD Reported by: Ben Rosengart <ben + freebsd org at narcissus net>
This commit is contained in:
parent
b4b89eb86d
commit
b9284f0f45
@ -388,6 +388,7 @@ brgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
|
||||
sc->mii_media_status != mii->mii_media_status ||
|
||||
cmd == MII_MEDIACHG) {
|
||||
switch (brgphy_mii_model) {
|
||||
case MII_MODEL_xxBROADCOM_BCM5400:
|
||||
case MII_MODEL_xxBROADCOM_BCM5401:
|
||||
bcm5401_load_dspcode(sc);
|
||||
break;
|
||||
@ -617,6 +618,7 @@ brgphy_reset(struct mii_softc *sc)
|
||||
mii_phy_reset(sc);
|
||||
|
||||
switch (brgphy_mii_model) {
|
||||
case MII_MODEL_xxBROADCOM_BCM5400:
|
||||
case MII_MODEL_xxBROADCOM_BCM5401:
|
||||
bcm5401_load_dspcode(sc);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user