summaryrefslogtreecommitdiff
path: root/sys/dev/cm
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-09-19 03:10:21 +0000
committerWarner Losh <imp@FreeBSD.org>2005-09-19 03:10:21 +0000
commitad4f426ef63acf8f93962c281274c677a055e500 (patch)
treec3358cebc77043ea8b2a3a5036b02dad6a674b7e /sys/dev/cm
parent6763e7c1edc7198eca8ab7017018b03f5c41e012 (diff)
Notes
Diffstat (limited to 'sys/dev/cm')
-rw-r--r--sys/dev/cm/if_cm_isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cm/if_cm_isa.c b/sys/dev/cm/if_cm_isa.c
index 1baa6870991c..0eb070c1e69d 100644
--- a/sys/dev/cm/if_cm_isa.c
+++ b/sys/dev/cm/if_cm_isa.c
@@ -111,10 +111,10 @@ cm_isa_detach(device_t dev)
s = splimp();
arc_ifdetach(ifp);
- if_free(ifp);
splx(s);
bus_teardown_intr(dev, sc->irq_res, sc->irq_handle);
+ if_free(ifp);
cm_release_resources(dev);
return (0);