Deleted Added
full compact
am7990.c (302408) am7990.c (315221)
1/* $NetBSD: am7990.c,v 1.68 2005/12/11 12:21:25 christos Exp $ */
2
3/*-
4 * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Charles M. Hannum and by Jason R. Thorpe of the Numerical Aerospace

--- 51 unchanged lines hidden (view full) ---

60 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
61 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
62 * SUCH DAMAGE.
63 *
64 * @(#)if_le.c 8.2 (Berkeley) 11/16/93
65 */
66
67#include <sys/cdefs.h>
1/* $NetBSD: am7990.c,v 1.68 2005/12/11 12:21:25 christos Exp $ */
2
3/*-
4 * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Charles M. Hannum and by Jason R. Thorpe of the Numerical Aerospace

--- 51 unchanged lines hidden (view full) ---

60 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
61 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
62 * SUCH DAMAGE.
63 *
64 * @(#)if_le.c 8.2 (Berkeley) 11/16/93
65 */
66
67#include <sys/cdefs.h>
68__FBSDID("$FreeBSD: stable/11/sys/dev/le/am7990.c 271849 2014-09-19 03:51:26Z glebius $");
68__FBSDID("$FreeBSD: stable/11/sys/dev/le/am7990.c 315221 2017-03-14 02:06:03Z pfg $");
69
70#include <sys/param.h>
71#include <sys/bus.h>
72#include <sys/endian.h>
73#include <sys/lock.h>
74#include <sys/mbuf.h>
75#include <sys/mutex.h>
76#include <sys/socket.h>

--- 437 unchanged lines hidden (view full) ---

514 if (tmd.tmd1_bits & LE_T1_OWN) {
515 ifp->if_drv_flags |= IFF_DRV_OACTIVE;
516 if_printf(ifp,
517 "missing buffer, no_td = %d, last_td = %d\n",
518 sc->sc_no_td, sc->sc_last_td);
519 }
520
521 IFQ_DRV_DEQUEUE(&ifp->if_snd, m);
69
70#include <sys/param.h>
71#include <sys/bus.h>
72#include <sys/endian.h>
73#include <sys/lock.h>
74#include <sys/mbuf.h>
75#include <sys/mutex.h>
76#include <sys/socket.h>

--- 437 unchanged lines hidden (view full) ---

514 if (tmd.tmd1_bits & LE_T1_OWN) {
515 ifp->if_drv_flags |= IFF_DRV_OACTIVE;
516 if_printf(ifp,
517 "missing buffer, no_td = %d, last_td = %d\n",
518 sc->sc_no_td, sc->sc_last_td);
519 }
520
521 IFQ_DRV_DEQUEUE(&ifp->if_snd, m);
522 if (m == 0)
522 if (m == NULL)
523 break;
524
525 /*
526 * If BPF is listening on this interface, let it see the packet
527 * before we commit it to the wire.
528 */
529 BPF_MTAP(ifp, m);
530

--- 89 unchanged lines hidden ---
523 break;
524
525 /*
526 * If BPF is listening on this interface, let it see the packet
527 * before we commit it to the wire.
528 */
529 BPF_MTAP(ifp, m);
530

--- 89 unchanged lines hidden ---