Deleted Added
full compact
if_ie.c (302408) if_ie.c (320921)
1/*-
2 * Copyright (c) 1992, 1993, University of Vermont and State
3 * Agricultural College.
4 * Copyright (c) 1992, 1993, Garrett A. Wollman.
5 *
6 * Portions:
7 * Copyright (c) 1990, 1991, William F. Jolitz
8 * Copyright (c) 1990, The Regents of the University of California

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

46 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
47 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48 * SUCH DAMAGE.
49 *
50 * MAINTAINER: Matthew N. Dodd <winter@jurai.net>
51 */
52
53#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1992, 1993, University of Vermont and State
3 * Agricultural College.
4 * Copyright (c) 1992, 1993, Garrett A. Wollman.
5 *
6 * Portions:
7 * Copyright (c) 1990, 1991, William F. Jolitz
8 * Copyright (c) 1990, The Regents of the University of California

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

46 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
47 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48 * SUCH DAMAGE.
49 *
50 * MAINTAINER: Matthew N. Dodd <winter@jurai.net>
51 */
52
53#include <sys/cdefs.h>
54__FBSDID("$FreeBSD: stable/11/sys/dev/ie/if_ie.c 276750 2015-01-06 12:59:37Z rwatson $");
54__FBSDID("$FreeBSD: stable/11/sys/dev/ie/if_ie.c 320921 2017-07-12 20:10:53Z jhb $");
55
56/*
57 * Intel 82586 Ethernet chip
58 * Register, bit, and structure definitions.
59 *
60 * Written by GAW with reference to the Clarkson Packet Driver code for this
61 * chip written by Russ Nelson and others.
62 *

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

322
323 error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET | INTR_MPSAFE,
324 NULL, ie_intr, sc, &sc->irq_ih);
325 if (error) {
326 device_printf(dev, "Unable to register interrupt handler\n");
327 mtx_destroy(&sc->lock);
328 return (error);
329 }
55
56/*
57 * Intel 82586 Ethernet chip
58 * Register, bit, and structure definitions.
59 *
60 * Written by GAW with reference to the Clarkson Packet Driver code for this
61 * chip written by Russ Nelson and others.
62 *

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

322
323 error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET | INTR_MPSAFE,
324 NULL, ie_intr, sc, &sc->irq_ih);
325 if (error) {
326 device_printf(dev, "Unable to register interrupt handler\n");
327 mtx_destroy(&sc->lock);
328 return (error);
329 }
330 device_printf(dev,
331 "WARNING: This driver is deprecated and will be removed.\n");
330
331 return (0);
332}
333
334static __inline void
335ie_ack(struct ie_softc *sc, u_int mask)
336{
337

--- 1363 unchanged lines hidden ---
332
333 return (0);
334}
335
336static __inline void
337ie_ack(struct ie_softc *sc, u_int mask)
338{
339

--- 1363 unchanged lines hidden ---