if_ti.c (175872) | if_ti.c (176413) |
---|---|
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 175872 2008-02-01 19:36:27Z phk $"); | 80__FBSDID("$FreeBSD: head/sys/dev/ti/if_ti.c 176413 2008-02-19 20:54:42Z remko $"); |
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> --- 2405 unchanged lines hidden (view full) --- 2494 /* Set up ifnet structure */ 2495 ifp->if_softc = sc; 2496 if_initname(ifp, device_get_name(dev), device_get_unit(dev)); 2497 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; 2498 ifp->if_ioctl = ti_ioctl; 2499 ifp->if_start = ti_start; 2500 ifp->if_watchdog = ti_watchdog; 2501 ifp->if_init = ti_init; | 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> --- 2405 unchanged lines hidden (view full) --- 2494 /* Set up ifnet structure */ 2495 ifp->if_softc = sc; 2496 if_initname(ifp, device_get_name(dev), device_get_unit(dev)); 2497 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; 2498 ifp->if_ioctl = ti_ioctl; 2499 ifp->if_start = ti_start; 2500 ifp->if_watchdog = ti_watchdog; 2501 ifp->if_init = ti_init; |
2502 ifp->if_baudrate = 1000000000; |
|
2502 ifp->if_mtu = ETHERMTU; 2503 ifp->if_snd.ifq_maxlen = TI_TX_RING_CNT - 1; 2504 2505 /* Set up ifmedia support. */ 2506 if (sc->ti_copper) { 2507 /* 2508 * Copper cards allow manual 10/100 mode selection, 2509 * but not manual 1000baseTX mode selection. Why? --- 1381 unchanged lines hidden --- | 2503 ifp->if_mtu = ETHERMTU; 2504 ifp->if_snd.ifq_maxlen = TI_TX_RING_CNT - 1; 2505 2506 /* Set up ifmedia support. */ 2507 if (sc->ti_copper) { 2508 /* 2509 * Copper cards allow manual 10/100 mode selection, 2510 * but not manual 1000baseTX mode selection. Why? --- 1381 unchanged lines hidden --- |