diff options
| author | John-Mark Gurney <jmg@FreeBSD.org> | 2006-10-06 20:53:01 +0000 |
|---|---|---|
| committer | John-Mark Gurney <jmg@FreeBSD.org> | 2006-10-06 20:53:01 +0000 |
| commit | 5aa0cdf46d078acfc59bf68adcdf8b4e4f14a650 (patch) | |
| tree | 16920f0e43a557bbb74229bf752091c791cb6bda /sys/dev/fxp | |
| parent | 84ee7f6ba29142431ad9614d41485a498fb94e87 (diff) | |
Notes
Diffstat (limited to 'sys/dev/fxp')
| -rw-r--r-- | sys/dev/fxp/if_fxp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index f49cb7ffd1cd..01a50bbe5672 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -2192,6 +2192,11 @@ fxp_ifmedia_upd(struct ifnet *ifp) mii = device_get_softc(sc->miibus); FXP_LOCK(sc); + if (mii->mii_instance) { + struct mii_softc *miisc; + LIST_FOREACH(miisc, &mii->mii_phys, mii_list) + mii_phy_reset(miisc); + } mii_mediachg(mii); FXP_UNLOCK(sc); return (0); |
