diff options
author | des <des@FreeBSD.org> | 1999-07-06 19:23:32 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 1999-07-06 19:23:32 +0000 |
commit | 3c4a5a075de68863e7f083e95007a8669ff54a1d (patch) | |
tree | 04c67d5ff85a81c06638fa69415cc80858136f6c /sys/dev/cs | |
parent | 71fd17e057eaec0ab952eb46cd1d1dcd78b8183a (diff) | |
download | FreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.zip FreeBSD-src-3c4a5a075de68863e7f083e95007a8669ff54a1d.tar.gz |
Rename bpfilter to bpf.
Diffstat (limited to 'sys/dev/cs')
-rw-r--r-- | sys/dev/cs/if_cs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/cs/if_cs.c b/sys/dev/cs/if_cs.c index f96f024..4863ffe 100644 --- a/sys/dev/cs/if_cs.c +++ b/sys/dev/cs/if_cs.c @@ -27,7 +27,7 @@ */ /* - * $Id: if_cs.c,v 1.9 1999/01/28 01:59:53 dillon Exp $ + * $Id: if_cs.c,v 1.10 1999/04/16 21:22:20 peter Exp $ * * Device driver for Crystal Semiconductor CS8920 based ethernet * adapters. By Maxim Bolotin and Oleg Sharoiko, 27-April-1997 @@ -35,7 +35,7 @@ /* #define CS_DEBUG */ #include "cs.h" -#include "bpfilter.h" +#include "bpf.h" #include <sys/param.h> #include <sys/systm.h> @@ -52,7 +52,7 @@ #include <net/if_media.h> #include <net/ethernet.h> -#if NBPFILTER > 0 +#if NBPF > 0 #include <net/bpf.h> #endif @@ -620,7 +620,7 @@ cs_attach(struct cs_softc *sc, int unit, int flags) printf(CS_NAME"%d: ethernet address %6D\n", ifp->if_unit, sc->arpcom.ac_enaddr, ":"); -#if NBPFILTER > 0 +#if NBPF > 0 bpfattach(ifp, DLT_EN10MB, sizeof (struct ether_header)); #endif return 1; @@ -777,7 +777,7 @@ cs_get_packet(struct cs_softc *sc) eh = mtod(m, struct ether_header *); -#if NBPFILTER > 0 +#if NBPF > 0 if (ifp->if_bpf) bpf_mtap(ifp, m); #endif @@ -950,7 +950,7 @@ cs_start(struct ifnet *ifp) cs_write_mbufs(sc, m); -#if NBPFILTER > 0 +#if NBPF > 0 if (ifp->if_bpf) { bpf_mtap(ifp, m); } |