Deleted Added
full compact
if_ti.c (131655) if_ti.c (134442)
1/*
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ctr.columbia.edu>. 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

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

72 * - Raymond Lee of Netgear, for providing a pair of Netgear
73 * GA620 Tigon 2 boards for testing
74 * - Ulf Zimmermann, for bringing the GA260 to my attention and
75 * convincing me to write this driver.
76 * - Andrew Gallatin for providing FreeBSD/Alpha support.
77 */
78
79#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ctr.columbia.edu>. 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

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

72 * - Raymond Lee of Netgear, for providing a pair of Netgear
73 * GA620 Tigon 2 boards for testing
74 * - Ulf Zimmermann, for bringing the GA260 to my attention and
75 * convincing me to write this driver.
76 * - Andrew Gallatin for providing FreeBSD/Alpha support.
77 */
78
79#include <sys/cdefs.h>
80__FBSDID("$FreeBSD: head/sys/dev/ti/if_ti.c 131655 2004-07-05 22:46:28Z bms $");
80__FBSDID("$FreeBSD: head/sys/dev/ti/if_ti.c 134442 2004-08-28 15:10:35Z rwatson $");
81
82#include "opt_ti.h"
83
84#include <sys/param.h>
85#include <sys/systm.h>
86#include <sys/sockio.h>
87#include <sys/mbuf.h>
88#include <sys/malloc.h>

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

2152#endif
2153 sc->ti_tx_max_coal_bds = 32;
2154 sc->ti_tx_buf_ratio = 21;
2155
2156 /* Set up ifnet structure */
2157 ifp = &sc->arpcom.ac_if;
2158 ifp->if_softc = sc;
2159 if_initname(ifp, device_get_name(dev), device_get_unit(dev));
81
82#include "opt_ti.h"
83
84#include <sys/param.h>
85#include <sys/systm.h>
86#include <sys/sockio.h>
87#include <sys/mbuf.h>
88#include <sys/malloc.h>

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

2152#endif
2153 sc->ti_tx_max_coal_bds = 32;
2154 sc->ti_tx_buf_ratio = 21;
2155
2156 /* Set up ifnet structure */
2157 ifp = &sc->arpcom.ac_if;
2158 ifp->if_softc = sc;
2159 if_initname(ifp, device_get_name(dev), device_get_unit(dev));
2160 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
2160 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST |
2161 IFF_NEEDSGIANT;
2161 tis[unit] = sc;
2162 ifp->if_ioctl = ti_ioctl;
2163 ifp->if_start = ti_start;
2164 ifp->if_watchdog = ti_watchdog;
2165 ifp->if_init = ti_init;
2166 ifp->if_mtu = ETHERMTU;
2167 ifp->if_snd.ifq_maxlen = TI_TX_RING_CNT - 1;
2168

--- 1297 unchanged lines hidden ---
2162 tis[unit] = sc;
2163 ifp->if_ioctl = ti_ioctl;
2164 ifp->if_start = ti_start;
2165 ifp->if_watchdog = ti_watchdog;
2166 ifp->if_init = ti_init;
2167 ifp->if_mtu = ETHERMTU;
2168 ifp->if_snd.ifq_maxlen = TI_TX_RING_CNT - 1;
2169

--- 1297 unchanged lines hidden ---