diff options
| author | Steve Price <steve@FreeBSD.org> | 1999-09-28 03:42:32 +0000 |
|---|---|---|
| committer | Steve Price <steve@FreeBSD.org> | 1999-09-28 03:42:32 +0000 |
| commit | f0856fbc91055dde4c92f4524bb8444101bb8f5d (patch) | |
| tree | b4504097f5d9497719337775dd6a191f8e26c2ae | |
| parent | 1d7f88317aefe3242ce5a8f1e151e00a238fe4a0 (diff) | |
Notes
| -rw-r--r-- | sys/alpha/tc/am7990.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/alpha/tc/am7990.c b/sys/alpha/tc/am7990.c index a6f83739fd17..2e955302e780 100644 --- a/sys/alpha/tc/am7990.c +++ b/sys/alpha/tc/am7990.c @@ -78,7 +78,6 @@ */ #include "opt_inet.h" -#include <net/bpf.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -103,6 +102,7 @@ #ifdef INET #include <netinet/in.h> #endif +#include <net/bpf.h> #include <net/ethernet.h> #include <net/if_arp.h> @@ -226,7 +226,7 @@ am7990_config(sc) if_attach(ifp); ether_ifattach(ifp); - bpfattach(&ifp->if_bpf, ifp, DLT_EN10MB, sizeof(struct ether_header)); + bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); switch (sc->sc_memsize) { case 8192: @@ -563,7 +563,7 @@ am7990_read(sc, boff, len) * If so, hand off the raw packet to BPF. */ if (ifp->if_bpf) { - bpf_mtap(ifp->if_bpf, m); + bpf_mtap(ifp, m); #ifndef LANCE_REVC_BUG /* @@ -919,7 +919,7 @@ am7990_start(ifp) * before we commit it to the wire. */ if (ifp->if_bpf) - bpf_mtap(ifp->if_bpf, m); + bpf_mtap(ifp, m); /* * Copy the mbuf chain into the transmit buffer. |
