Deleted Added
full compact
if_de.c (61040) if_de.c (63090)
1/* $NetBSD: if_de.c,v 1.86 1999/06/01 19:17:59 thorpej Exp $ */
2
1/* $NetBSD: if_de.c,v 1.86 1999/06/01 19:17:59 thorpej Exp $ */
2
3/* $FreeBSD: head/sys/dev/de/if_de.c 61040 2000-05-28 16:06:56Z peter $ */
3/* $FreeBSD: head/sys/dev/de/if_de.c 63090 2000-07-13 22:54:34Z archie $ */
4
5/*-
6 * Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com)
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
11 * are met:

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

4869 ifmedia_init(&sc->tulip_ifmedia, 0,
4870 tulip_ifmedia_change,
4871 tulip_ifmedia_status);
4872 sc->tulip_flags &= ~TULIP_DEVICEPROBE;
4873 tulip_ifmedia_add(sc);
4874
4875 tulip_reset(sc);
4876
4
5/*-
6 * Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com)
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
11 * are met:

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

4869 ifmedia_init(&sc->tulip_ifmedia, 0,
4870 tulip_ifmedia_change,
4871 tulip_ifmedia_status);
4872 sc->tulip_flags &= ~TULIP_DEVICEPROBE;
4873 tulip_ifmedia_add(sc);
4874
4875 tulip_reset(sc);
4876
4877 if_attach(ifp);
4877 ether_ifattach(&(sc)->tulip_if, ETHER_BPF_SUPPORTED);
4878 ifp->if_snd.ifq_maxlen = ifqmaxlen;
4878 ifp->if_snd.ifq_maxlen = ifqmaxlen;
4879 ether_ifattach(&(sc)->tulip_if);
4880
4881 bpfattach(&sc->tulip_if, DLT_EN10MB, sizeof(struct ether_header));
4882}
4883
4884#if defined(TULIP_BUS_DMA)
4885#if !defined(TULIP_BUS_DMA_NOTX) || !defined(TULIP_BUS_DMA_NORX)
4886static int
4887tulip_busdma_allocmem(
4888 tulip_softc_t * const sc,
4889 size_t size,

--- 446 unchanged lines hidden ---
4879}
4880
4881#if defined(TULIP_BUS_DMA)
4882#if !defined(TULIP_BUS_DMA_NOTX) || !defined(TULIP_BUS_DMA_NORX)
4883static int
4884tulip_busdma_allocmem(
4885 tulip_softc_t * const sc,
4886 size_t size,

--- 446 unchanged lines hidden ---