diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2002-11-14 23:54:55 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2002-11-14 23:54:55 +0000 |
| commit | 673d91916d8748ecccff3635f1b15cc602a3898e (patch) | |
| tree | 84eb7252cc6a518796c6bf88903ed6e2d12e7b91 /sys/dev/iicbus | |
| parent | 9ef8b52020603fd01bf683a44d1c1ec25cd4ce09 (diff) | |
Notes
Diffstat (limited to 'sys/dev/iicbus')
| -rw-r--r-- | sys/dev/iicbus/if_ic.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/iicbus/if_ic.c b/sys/dev/iicbus/if_ic.c index 5453e8258016..a6660b744d31 100644 --- a/sys/dev/iicbus/if_ic.c +++ b/sys/dev/iicbus/if_ic.c @@ -310,8 +310,7 @@ icintr (device_t dev, int event, char *ptr) sc->ic_if.if_ipackets ++; sc->ic_if.if_ibytes += len; - if (sc->ic_if.if_bpf) - bpf_tap(&sc->ic_if, sc->ic_ifbuf, len + ICHDRLEN); + BPF_TAP(&sc->ic_if, sc->ic_ifbuf, len + ICHDRLEN); top = m_devget(sc->ic_ifbuf + ICHDRLEN, len, 0, &sc->ic_if, 0); @@ -418,7 +417,7 @@ icoutput(struct ifnet *ifp, struct mbuf *m, m0.m_data = (char *)&hdr; n = &m0; - bpf_mtap(ifp, n); + BPF_MTAP(ifp, n); } sc->ic_sending = 1; |
