summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/mlphy.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-12-12 19:31:14 +0000
committerwpaul <wpaul@FreeBSD.org>2000-12-12 19:31:14 +0000
commit0ee7429451f32b5027bdb6dac8f4378f73910e3d (patch)
treee048ef73a889553c164b8fbd498e85d22f67e003 /sys/dev/mii/mlphy.c
parent126b557e53a07a423a0c14168d2c4a9e1983c9b9 (diff)
downloadFreeBSD-src-0ee7429451f32b5027bdb6dac8f4378f73910e3d.zip
FreeBSD-src-0ee7429451f32b5027bdb6dac8f4378f73910e3d.tar.gz
Grrrrr. That last commit was supposed to be to the head, not to -stable
(even though I want the fixes in -stable anyway). I'm sure I'm going to get flamed now for committing to -stable and -current too quickly. *sigh*
Diffstat (limited to 'sys/dev/mii/mlphy.c')
-rw-r--r--sys/dev/mii/mlphy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mii/mlphy.c b/sys/dev/mii/mlphy.c
index d83afd3..b38cfc3 100644
--- a/sys/dev/mii/mlphy.c
+++ b/sys/dev/mii/mlphy.c
@@ -186,6 +186,7 @@ static int mlphy_detach(dev)
sc = device_get_softc(dev);
mii = device_get_softc(device_get_parent(dev));
+ mii_phy_auto_stop(&sc->ml_mii);
sc->ml_mii.mii_dev = NULL;
LIST_REMOVE(&sc->ml_mii, mii_list);
OpenPOWER on IntegriCloud