diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-20 19:39:49 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-20 19:39:49 +0000 |
commit | 564b6a39bc60122dd377e657123ba8f3d4a7ccf7 (patch) | |
tree | ad1d5486bcb8cb02e81599277cc10687746dcbe1 /sys/arch/mac68k/dev | |
parent | 538f9f995c2e33db913284c36581dd9e7c924f9c (diff) |
for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok
Diffstat (limited to 'sys/arch/mac68k/dev')
-rw-r--r-- | sys/arch/mac68k/dev/if_ae.c | 6 | ||||
-rw-r--r-- | sys/arch/mac68k/dev/if_mc.c | 6 | ||||
-rw-r--r-- | sys/arch/mac68k/dev/if_sn.c | 3 |
3 files changed, 2 insertions, 13 deletions
diff --git a/sys/arch/mac68k/dev/if_ae.c b/sys/arch/mac68k/dev/if_ae.c index d72c57eb0de..d412299da32 100644 --- a/sys/arch/mac68k/dev/if_ae.c +++ b/sys/arch/mac68k/dev/if_ae.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ae.c,v 1.14 1999/05/13 15:44:49 jason Exp $ */ +/* $OpenBSD: if_ae.c,v 1.15 2001/02/20 19:39:31 mickey Exp $ */ /* $NetBSD: if_ae.c,v 1.62 1997/04/24 16:52:05 scottr Exp $ */ /* @@ -172,10 +172,6 @@ printf(": failed to clear shared memory - check configuration\n"); printf("type %s, %dKB memory\n", sc->type_str, sc->mem_size / 1024); -#if NBPFILTER > 0 - bpfattach(&ifp->if_bpf, ifp, DLT_EN10MB, sizeof(struct ether_header)); -#endif - return 0; } diff --git a/sys/arch/mac68k/dev/if_mc.c b/sys/arch/mac68k/dev/if_mc.c index f504b184873..e9b95dd5101 100644 --- a/sys/arch/mac68k/dev/if_mc.c +++ b/sys/arch/mac68k/dev/if_mc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mc.c,v 1.2 1999/05/13 15:44:49 jason Exp $ */ +/* $OpenBSD: if_mc.c,v 1.3 2001/02/20 19:39:31 mickey Exp $ */ /* $NetBSD: if_mc.c,v 1.4 1998/01/12 19:22:09 thorpej Exp $ */ /*- @@ -173,10 +173,6 @@ mcsetup(sc, lladdr) ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; ifp->if_watchdog = mcwatchdog; - -#if NBPFILTER > 0 - bpfattach(&ifp->if_bpf, ifp, DLT_EN10MB, sizeof(struct ether_header)); -#endif if_attach(ifp); ether_ifattach(ifp); diff --git a/sys/arch/mac68k/dev/if_sn.c b/sys/arch/mac68k/dev/if_sn.c index ba6609b0340..649512bde69 100644 --- a/sys/arch/mac68k/dev/if_sn.c +++ b/sys/arch/mac68k/dev/if_sn.c @@ -258,9 +258,6 @@ snsetup(sc, lladdr) ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; ifp->if_watchdog = snwatchdog; -#if NBPFILTER > 0 - bpfattach(&ifp->if_bpf, ifp, DLT_EN10MB, sizeof(struct ether_header)); -#endif if_attach(ifp); ether_ifattach(ifp); |