summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev
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/arch/mvme88k/dev
parent538f9f995c2e33db913284c36581dd9e7c924f9c (diff)
for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok
Diffstat (limited to 'sys/arch/mvme88k/dev')
-rw-r--r--sys/arch/mvme88k/dev/if_ie.c6
-rw-r--r--sys/arch/mvme88k/dev/if_ve.c6
2 files changed, 2 insertions, 10 deletions
diff --git a/sys/arch/mvme88k/dev/if_ie.c b/sys/arch/mvme88k/dev/if_ie.c
index c3c1d4bf0a9..392cceea122 100644
--- a/sys/arch/mvme88k/dev/if_ie.c
+++ b/sys/arch/mvme88k/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.7 2000/03/03 00:54:53 todd Exp $ */
+/* $OpenBSD: if_ie.c,v 1.8 2001/02/20 19:39:32 mickey Exp $ */
/*-
* Copyright (c) 1998 Steve Murphree, Jr.
@@ -461,10 +461,6 @@ ieattach(parent, self, aux)
printf(": address %s\n", ether_sprintf(sc->sc_arpcom.ac_enaddr));
-#if NBPFILTER > 0
- bpfattach(&ifp->if_bpf, ifp, DLT_EN10MB, sizeof(struct ether_header));
-#endif
-
sc->sc_bustype = ca->ca_bustype;
sc->sc_ih.ih_fn = ieintr;
diff --git a/sys/arch/mvme88k/dev/if_ve.c b/sys/arch/mvme88k/dev/if_ve.c
index 570ae98a6f1..7ad19ce5073 100644
--- a/sys/arch/mvme88k/dev/if_ve.c
+++ b/sys/arch/mvme88k/dev/if_ve.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ve.c,v 1.3 2001/02/12 08:16:23 smurph Exp $ */
+/* $OpenBSD: if_ve.c,v 1.4 2001/02/20 19:39:32 mickey Exp $ */
/*-
* Copyright (c) 1999 Steve Murphree, Jr.
* Copyright (c) 1982, 1992, 1993
@@ -380,10 +380,6 @@ struct vam7990_softc *sc;
if_attach(ifp);
ether_ifattach(ifp);
-#if NBPFILTER > 0
- bpfattach(&ifp->if_bpf, ifp, DLT_EN10MB, sizeof(struct ether_header));
-#endif
-
if (sc->sc_memsize > 262144)
sc->sc_memsize = 262144;