diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 1999-07-06 19:23:32 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 1999-07-06 19:23:32 +0000 |
| commit | 6b5ca0d83e52d5a5cc1001854eb33f1c31deb9db (patch) | |
| tree | b98f1bc83e7c922d703d35e16ba75d62d320a917 /sys/dev/cs/if_cs.c | |
| parent | 14802b60922f833994d6371b3e5510e9135abaf4 (diff) | |
Notes
Diffstat (limited to 'sys/dev/cs/if_cs.c')
| -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 f96f0248b9d3..4863ffe3c7ff 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); } |
