diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-06-25 04:44:29 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-06-25 04:44:29 +0000 |
commit | 5da44471c5dace2493589d3c440e5e6b7b06871a (patch) | |
tree | 2eb9fd6dc517f86cda4eec1ac23f876b71114746 /sys/dev/isa/if_iy.c | |
parent | eb42bf70756786f3edb77fb01b9483f38f5983fd (diff) |
ether_input_mbuf() conversion.
Diffstat (limited to 'sys/dev/isa/if_iy.c')
-rw-r--r-- | sys/dev/isa/if_iy.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/isa/if_iy.c b/sys/dev/isa/if_iy.c index f14874df114..8315a07113d 100644 --- a/sys/dev/isa/if_iy.c +++ b/sys/dev/isa/if_iy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iy.c,v 1.12 2001/06/23 22:03:10 fgsch Exp $ */ +/* $OpenBSD: if_iy.c,v 1.13 2001/06/25 04:44:28 fgsch Exp $ */ /* $NetBSD: if_iy.c,v 1.4 1996/05/12 23:52:53 mycroft Exp $ */ /* #define IYDEBUG */ /* #define IYMEMDEBUG */ @@ -775,7 +775,6 @@ struct iy_softc *sc; int iobase, rxlen; { struct mbuf *m, *top, **mp; - struct ether_header *eh; struct ifnet *ifp; int len; @@ -839,14 +838,11 @@ int iobase, rxlen; /* XXX receive the top here */ ++ifp->if_ipackets; - eh = mtod(top, struct ether_header *); - #if NBPFILTER > 0 if (ifp->if_bpf) bpf_mtap(ifp->if_bpf, top); #endif - m_adj(top, sizeof(struct ether_header)); - ether_input(ifp, eh, top); + ether_input_mbuf(ifp, top); return; dropped: |