summaryrefslogtreecommitdiffstats
path: root/sys/dev/cm/if_cm_isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cm/if_cm_isa.c')
-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 1baa687..0eb070c 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);
OpenPOWER on IntegriCloud