diff options
author | grehan <grehan@FreeBSD.org> | 2005-10-16 05:29:14 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2005-10-16 05:29:14 +0000 |
commit | ef9b7e3a143f69b35878f93fb6795869a20cea19 (patch) | |
tree | 8bb352fd296d2c063e55f0bc2ce501a2ca140a59 | |
parent | 9059c46ebf24b9444b05610ff83f19e52272e084 (diff) | |
download | FreeBSD-src-ef9b7e3a143f69b35878f93fb6795869a20cea19.zip FreeBSD-src-ef9b7e3a143f69b35878f93fb6795869a20cea19.tar.gz |
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>
-rw-r--r-- | sys/dev/mii/brgphy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 869ebde..6365cbc 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -388,6 +388,7 @@ setit: 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; |