Deleted Added
full compact
if_ex.c (331722) if_ex.c (347962)
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: stable/11/sys/dev/ex/if_ex.c 331722 2018-03-29 02:50:57Z eadler $");
33__FBSDID("$FreeBSD: stable/11/sys/dev/ex/if_ex.c 347962 2019-05-18 20:43:13Z brooks $");
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.

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

269 NULL, ex_intr, (void *)sc, &sc->ih);
270 if (error) {
271 device_printf(dev, "bus_setup_intr() failed!\n");
272 ether_ifdetach(ifp);
273 mtx_destroy(&sc->lock);
274 return (error);
275 }
276
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.

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

269 NULL, ex_intr, (void *)sc, &sc->ih);
270 if (error) {
271 device_printf(dev, "bus_setup_intr() failed!\n");
272 ether_ifdetach(ifp);
273 mtx_destroy(&sc->lock);
274 return (error);
275 }
276
277 gone_by_fcp101_dev(dev);
278
277 return(0);
278}
279
280int
281ex_detach(device_t dev)
282{
283 struct ex_softc *sc;
284 struct ifnet *ifp;

--- 797 unchanged lines hidden ---
279 return(0);
280}
281
282int
283ex_detach(device_t dev)
284{
285 struct ex_softc *sc;
286 struct ifnet *ifp;

--- 797 unchanged lines hidden ---