summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_an_isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/an/if_an_isa.c')
-rw-r--r--sys/dev/an/if_an_isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/an/if_an_isa.c b/sys/dev/an/if_an_isa.c
index e798437..2d78fcb 100644
--- a/sys/dev/an/if_an_isa.c
+++ b/sys/dev/an/if_an_isa.c
@@ -131,7 +131,7 @@ an_detach_isa(device_t dev)
struct ifnet *ifp = &sc->arpcom.ac_if;
an_stop(sc);
- if_detach(ifp);
+ ether_ifdetach(ifp, ETHER_BPF_SUPPORTED);
bus_teardown_intr(dev, sc->irq_res, sc->irq_handle);
an_release_resources(dev);
OpenPOWER on IntegriCloud