Deleted Added
full compact
if_ex.c (61488) if_ex.c (63090)
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

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
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

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/dev/ex/if_ex.c 61488 2000-06-10 11:09:03Z peter $
27 * $FreeBSD: head/sys/dev/ex/if_ex.c 63090 2000-07-13 22:54:34Z archie $
28 *
29 * MAINTAINER: Matthew N. Dodd <winter@jurai.net>
30 * <mdodd@FreeBSD.org>
31 */
32
33/*
34 * Intel EtherExpress Pro/10, Pro/10+ Ethernet driver
35 *

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

259
260 ifm = &sc->ifmedia;
261 ifm->ifm_media = ifm->ifm_cur->ifm_media;
262 ex_ifmedia_upd(ifp);
263
264 /*
265 * Attach the interface.
266 */
28 *
29 * MAINTAINER: Matthew N. Dodd <winter@jurai.net>
30 * <mdodd@FreeBSD.org>
31 */
32
33/*
34 * Intel EtherExpress Pro/10, Pro/10+ Ethernet driver
35 *

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

259
260 ifm = &sc->ifmedia;
261 ifm->ifm_media = ifm->ifm_cur->ifm_media;
262 ex_ifmedia_upd(ifp);
263
264 /*
265 * Attach the interface.
266 */
267 if_attach(ifp);
268 ether_ifattach(ifp);
267 ether_ifattach(ifp, ETHER_BPF_SUPPORTED);
269
270 device_printf(sc->dev, "Ethernet address %6D\n",
271 sc->arpcom.ac_enaddr, ":");
268
269 device_printf(sc->dev, "Ethernet address %6D\n",
270 sc->arpcom.ac_enaddr, ":");
272 /*
273 * If BPF is in the kernel, call the attach for it
274 */
275 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
276
277 return(0);
278}
279
280static void
281ex_init(void *xsc)
282{
283 struct ex_softc * sc = (struct ex_softc *) xsc;

--- 676 unchanged lines hidden ---
271
272 return(0);
273}
274
275static void
276ex_init(void *xsc)
277{
278 struct ex_softc * sc = (struct ex_softc *) xsc;

--- 676 unchanged lines hidden ---