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/dev/pcmcia/if_cnw.c | |
parent | 538f9f995c2e33db913284c36581dd9e7c924f9c (diff) |
for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok
Diffstat (limited to 'sys/dev/pcmcia/if_cnw.c')
-rw-r--r-- | sys/dev/pcmcia/if_cnw.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pcmcia/if_cnw.c b/sys/dev/pcmcia/if_cnw.c index f28fa806d0a..c735a0aa557 100644 --- a/sys/dev/pcmcia/if_cnw.c +++ b/sys/dev/pcmcia/if_cnw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cnw.c,v 1.6 2000/04/24 19:43:35 niklas Exp $ */ +/* $OpenBSD: if_cnw.c,v 1.7 2001/02/20 19:39:46 mickey Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -438,10 +438,6 @@ cnw_attach(parent, self, aux) /* Attach the interface */ if_attach(ifp); ether_ifattach(ifp); -#if NBPFILTER > 0 - bpfattach(&sc->sc_arpcom.ac_if.if_bpf, ifp, DLT_EN10MB, - sizeof(struct ether_header)); -#endif /* Disable the card now, and turn it on when the interface goes up */ pcmcia_function_disable(sc->sc_pf); |