summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/ukphy.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/ukphy.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/ukphy.c')
-rw-r--r--sys/dev/mii/ukphy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mii/ukphy.c b/sys/dev/mii/ukphy.c
index df00420..bdc47b4 100644
--- a/sys/dev/mii/ukphy.c
+++ b/sys/dev/mii/ukphy.c
@@ -192,6 +192,7 @@ static int ukphy_detach(dev)
sc = device_get_softc(dev);
mii = device_get_softc(device_get_parent(dev));
+ mii_phy_auto_stop(sc);
sc->mii_dev = NULL;
LIST_REMOVE(sc, mii_list);
OpenPOWER on IntegriCloud