aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hme
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2005-08-17 17:44:32 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2005-08-17 17:44:32 +0000
commit9eda9d7ac5846102baa1e41ef6d16e402eadb24e (patch)
tree216e7a152ceed2329243d09bd612e26c269c931b /sys/dev/hme
parentc98ae70c212d6979933a802c8adf69dace9ceae8 (diff)
Notes
Diffstat (limited to 'sys/dev/hme')
-rw-r--r--sys/dev/hme/if_hme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c
index 703369172e12..8ed71b164008 100644
--- a/sys/dev/hme/if_hme.c
+++ b/sys/dev/hme/if_hme.c
@@ -388,6 +388,7 @@ hme_detach(struct hme_softc *sc)
HME_LOCK(sc);
hme_stop(sc);
HME_UNLOCK(sc);
+ callout_drain(&sc->sc_tick_ch);
device_delete_child(sc->sc_dev, sc->sc_miibus);
for (i = 0; i < HME_NTXQ; i++) {