aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/an/if_an_isa.c
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2002-11-14 23:54:55 +0000
committerSam Leffler <sam@FreeBSD.org>2002-11-14 23:54:55 +0000
commit673d91916d8748ecccff3635f1b15cc602a3898e (patch)
tree84eb7252cc6a518796c6bf88903ed6e2d12e7b91 /sys/dev/an/if_an_isa.c
parent9ef8b52020603fd01bf683a44d1c1ec25cd4ce09 (diff)
downloadsrc-673d91916d8748ecccff3635f1b15cc602a3898e.tar.gz
src-673d91916d8748ecccff3635f1b15cc602a3898e.zip
network interface driver changes:
o don't strip the Ethernet header from inbound packets; pass packets up the stack intact (required significant changes to some drivers) o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN) o track ether_ifattach/ether_ifdetach API changes o track bpf changes (use BPF_TAP and BPF_MTAP) o track vlan changes (ifnet capabilities, revised processing scheme, etc.) o use if_input to pass packets "up" o call ether_ioctl for default handling of ioctls Reviewed by: many Approved by: re
Notes
Notes: svn path=/head/; revision=106937
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 db879a505f58..45fc3b5d45b7 100644
--- a/sys/dev/an/if_an_isa.c
+++ b/sys/dev/an/if_an_isa.c
@@ -140,7 +140,7 @@ an_detach_isa(device_t dev)
an_stop(sc);
ifmedia_removeall(&sc->an_ifmedia);
- ether_ifdetach(ifp, ETHER_BPF_SUPPORTED);
+ ether_ifdetach(ifp);
bus_teardown_intr(dev, sc->irq_res, sc->irq_handle);
an_release_resources(dev);