summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/if_ex.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2001-02-20 19:39:27 +0000
committermickey <mickey@openbsd.org>2001-02-20 19:39:27 +0000
commitb7014d4f48bc7aac9ef42ac92a1b94e9a840ae7a (patch)
tree9244b882d8a622cc8b1b231eb9cde5e020dbad06 /sys/dev/isa/if_ex.c
parentsync with freebsd: (diff)
downloadwireguard-openbsd-b7014d4f48bc7aac9ef42ac92a1b94e9a840ae7a.tar.xz
wireguard-openbsd-b7014d4f48bc7aac9ef42ac92a1b94e9a840ae7a.zip
for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok
Diffstat (limited to 'sys/dev/isa/if_ex.c')
-rw-r--r--sys/dev/isa/if_ex.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c
index b2fc9a70174..7b12438e32b 100644
--- a/sys/dev/isa/if_ex.c
+++ b/sys/dev/isa/if_ex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ex.c,v 1.5 1999/04/19 07:10:06 fgsch Exp $ */
+/* $OpenBSD: if_ex.c,v 1.6 2001/02/20 19:39:40 mickey Exp $ */
/*
* Copyright (c) 1997, Donald A. Schmidt
* Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es)
@@ -309,14 +309,6 @@ ex_attach(parent, self, aux)
default: printf("???\n");
}
- /*
- * If BPF is in the kernel, call the attach for it
- */
-#if NBPFILTER > 0
- bpfattach(&ifp->if_bpf, ifp, DLT_EN10MB,
- sizeof(struct ether_header));
-#endif
-
sc->sc_ih = isa_intr_establish(ia->ia_ic, ia->ia_irq, IST_EDGE,
IPL_NET, exintr, sc, self->dv_xname);
ex_init(sc);