summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_tx.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-02-20 19:39:49 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-02-20 19:39:49 +0000
commit564b6a39bc60122dd377e657123ba8f3d4a7ccf7 (patch)
treead1d5486bcb8cb02e81599277cc10687746dcbe1 /sys/dev/pci/if_tx.c
parent538f9f995c2e33db913284c36581dd9e7c924f9c (diff)
for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok
Diffstat (limited to 'sys/dev/pci/if_tx.c')
-rw-r--r--sys/dev/pci/if_tx.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/if_tx.c b/sys/dev/pci/if_tx.c
index 3972637b47b..13873d386b6 100644
--- a/sys/dev/pci/if_tx.c
+++ b/sys/dev/pci/if_tx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tx.c,v 1.11 2000/10/17 15:47:12 jason Exp $ */
+/* $OpenBSD: if_tx.c,v 1.12 2001/02/20 19:39:43 mickey Exp $ */
/* $FreeBSD: src/sys/pci/if_tx.c,v 1.40 2000/07/13 22:54:34 archie Exp $ */
/*-
@@ -338,10 +338,6 @@ epic_openbsd_attach(
/* Attach os interface and bpf */
if_attach(ifp);
ether_ifattach(ifp);
-#if NBPFILTER > 0
- bpfattach(&sc->sc_if.if_bpf, ifp, DLT_EN10MB,
- sizeof(struct ether_header));
-#endif
/* Set shutdown routine to stop DMA process */
shutdownhook_establish(epic_openbsd_shutdown, sc);