if_ex.c (195049) | if_ex.c (201794) |
---|---|
1/*- 2 * Copyright (c) 1996, Javier Mart�n Rueda (jmrueda@diatel.upm.es) 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * SUCH DAMAGE. 26 * 27 * 28 * MAINTAINER: Matthew N. Dodd <winter@jurai.net> 29 * <mdodd@FreeBSD.org> 30 */ 31 32#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1996, Javier Mart�n Rueda (jmrueda@diatel.upm.es) 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * SUCH DAMAGE. 26 * 27 * 28 * MAINTAINER: Matthew N. Dodd <winter@jurai.net> 29 * <mdodd@FreeBSD.org> 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/dev/ex/if_ex.c 195049 2009-06-26 11:45:06Z rwatson $"); | 33__FBSDID("$FreeBSD: head/sys/dev/ex/if_ex.c 201794 2010-01-08 15:44:49Z trasz $"); |
34 35/* 36 * Intel EtherExpress Pro/10, Pro/10+ Ethernet driver 37 * 38 * Revision history: 39 * 40 * dd-mmm-yyyy: Multicast support ported from NetBSD's if_iy driver. 41 * 30-Oct-1996: first beta version. Inet and BPF supported, but no multicast. --- 630 unchanged lines hidden (view full) --- 672 * - Update statistics. 673 */ 674 675 sc->tx_timeout = 0; 676 677 while (sc->tx_head != sc->tx_tail) { 678 CSR_WRITE_2(sc, HOST_ADDR_REG, sc->tx_head); 679 | 34 35/* 36 * Intel EtherExpress Pro/10, Pro/10+ Ethernet driver 37 * 38 * Revision history: 39 * 40 * dd-mmm-yyyy: Multicast support ported from NetBSD's if_iy driver. 41 * 30-Oct-1996: first beta version. Inet and BPF supported, but no multicast. --- 630 unchanged lines hidden (view full) --- 672 * - Update statistics. 673 */ 674 675 sc->tx_timeout = 0; 676 677 while (sc->tx_head != sc->tx_tail) { 678 CSR_WRITE_2(sc, HOST_ADDR_REG, sc->tx_head); 679 |
680 if (! CSR_READ_2(sc, IO_PORT_REG) & Done_bit) | 680 if (!(CSR_READ_2(sc, IO_PORT_REG) & Done_bit)) |
681 break; 682 683 tx_status = CSR_READ_2(sc, IO_PORT_REG); 684 sc->tx_head = CSR_READ_2(sc, IO_PORT_REG); 685 686 if (tx_status & TX_OK_bit) { 687 ifp->if_opackets++; 688 } else { --- 394 unchanged lines hidden --- | 681 break; 682 683 tx_status = CSR_READ_2(sc, IO_PORT_REG); 684 sc->tx_head = CSR_READ_2(sc, IO_PORT_REG); 685 686 if (tx_status & TX_OK_bit) { 687 ifp->if_opackets++; 688 } else { --- 394 unchanged lines hidden --- |