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/amiga/dev | |
parent | 538f9f995c2e33db913284c36581dd9e7c924f9c (diff) |
for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok
Diffstat (limited to 'sys/arch/amiga/dev')
-rw-r--r-- | sys/arch/amiga/dev/if_ae.c | 6 | ||||
-rw-r--r-- | sys/arch/amiga/dev/if_ed.c | 6 | ||||
-rw-r--r-- | sys/arch/amiga/dev/if_es.c | 6 | ||||
-rw-r--r-- | sys/arch/amiga/dev/if_qn.c | 6 |
4 files changed, 4 insertions, 20 deletions
diff --git a/sys/arch/amiga/dev/if_ae.c b/sys/arch/amiga/dev/if_ae.c index 56c63033133..633455ceac8 100644 --- a/sys/arch/amiga/dev/if_ae.c +++ b/sys/arch/amiga/dev/if_ae.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ae.c,v 1.12 1999/05/13 15:44:47 jason Exp $ */ +/* $OpenBSD: if_ae.c,v 1.13 2001/02/20 19:39:30 mickey Exp $ */ /* $NetBSD: if_ae.c,v 1.14 1997/03/18 18:44:53 veego Exp $ */ /* @@ -246,10 +246,6 @@ aeattach(parent, self, aux) if_attach(ifp); ether_ifattach(ifp); -#if NBPFILTER > 0 - bpfattach(&ifp->if_bpf, ifp, DLT_EN10MB, sizeof(struct ether_header)); -#endif - sc->sc_isr.isr_intr = aeintr; sc->sc_isr.isr_arg = sc; sc->sc_isr.isr_ipl = 2; diff --git a/sys/arch/amiga/dev/if_ed.c b/sys/arch/amiga/dev/if_ed.c index b3f0dfffdda..beb3f2fe37f 100644 --- a/sys/arch/amiga/dev/if_ed.c +++ b/sys/arch/amiga/dev/if_ed.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ed.c,v 1.12 1999/05/13 15:44:48 jason Exp $ */ +/* $OpenBSD: if_ed.c,v 1.13 2001/02/20 19:39:29 mickey Exp $ */ /* $NetBSD: if_ed.c,v 1.26 1997/03/17 17:51:42 is Exp $ */ /* @@ -276,10 +276,6 @@ ed_zbus_attach(parent, self, aux) /* Print additional info when attached. */ 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_isr.isr_intr = edintr; sc->sc_isr.isr_arg = sc; sc->sc_isr.isr_ipl = 2; diff --git a/sys/arch/amiga/dev/if_es.c b/sys/arch/amiga/dev/if_es.c index ca82e91e13d..b1afabb0ba6 100644 --- a/sys/arch/amiga/dev/if_es.c +++ b/sys/arch/amiga/dev/if_es.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_es.c,v 1.11 1999/05/13 15:44:48 jason Exp $ */ +/* $OpenBSD: if_es.c,v 1.12 2001/02/20 19:39:29 mickey Exp $ */ /* $NetBSD: if_es.c,v 1.16 1996/12/23 09:10:17 veego Exp $ */ /* @@ -199,10 +199,6 @@ esattach(parent, self, aux) /* Print additional info when attached. */ 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_isr.isr_intr = esintr; sc->sc_isr.isr_arg = sc; sc->sc_isr.isr_ipl = 2; diff --git a/sys/arch/amiga/dev/if_qn.c b/sys/arch/amiga/dev/if_qn.c index 6db5632a5e0..fbcb066283c 100644 --- a/sys/arch/amiga/dev/if_qn.c +++ b/sys/arch/amiga/dev/if_qn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_qn.c,v 1.12 1999/05/13 15:44:48 jason Exp $ */ +/* $OpenBSD: if_qn.c,v 1.13 2001/02/20 19:39:30 mickey Exp $ */ /* $NetBSD: if_qn.c,v 1.10 1996/12/23 09:10:19 veego Exp $ */ /* @@ -262,10 +262,6 @@ qnattach(parent, self, aux) printf(": hardware address %s\n", ether_sprintf(sc->sc_arpcom.ac_enaddr)); #endif -#if NBPFILTER > 0 - bpfattach(&sc->sc_bpf, ifp, DLT_EN10MB, sizeof(struct ether_header)); -#endif - sc->sc_isr.isr_intr = qnintr; sc->sc_isr.isr_arg = sc; sc->sc_isr.isr_ipl = 2; |