if_tl.c (56060) | if_tl.c (59758) |
---|---|
1/* 2 * Copyright (c) 1997, 1998 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 --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 * | 1/* 2 * Copyright (c) 1997, 1998 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 --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/pci/if_tl.c 56060 2000-01-15 20:14:49Z wpaul $ | 32 * $FreeBSD: head/sys/pci/if_tl.c 59758 2000-04-29 13:41:57Z peter $ |
33 */ 34 35/* 36 * Texas Instruments ThunderLAN driver for FreeBSD 2.2.6 and 3.x. 37 * Supports many Compaq PCI NICs based on the ThunderLAN ethernet controller, 38 * the National Semiconductor DP83840A physical interface and the 39 * Microchip Technology 24Cxx series serial EEPROM. 40 * --- 173 unchanged lines hidden (view full) --- 214 * Default to using PIO register access mode to pacify certain 215 * laptop docking stations with built-in ThunderLAN chips that 216 * don't seem to handle memory mapped mode properly. 217 */ 218#define TL_USEIOSPACE 219 220#include <pci/if_tlreg.h> 221 | 33 */ 34 35/* 36 * Texas Instruments ThunderLAN driver for FreeBSD 2.2.6 and 3.x. 37 * Supports many Compaq PCI NICs based on the ThunderLAN ethernet controller, 38 * the National Semiconductor DP83840A physical interface and the 39 * Microchip Technology 24Cxx series serial EEPROM. 40 * --- 173 unchanged lines hidden (view full) --- 214 * Default to using PIO register access mode to pacify certain 215 * laptop docking stations with built-in ThunderLAN chips that 216 * don't seem to handle memory mapped mode properly. 217 */ 218#define TL_USEIOSPACE 219 220#include <pci/if_tlreg.h> 221 |
222MODULE_DEPEND(tl, miibus, 1, 1, 1); 223 |
|
222/* "controller miibus0" required. See GENERIC if you get errors here. */ 223#include "miibus_if.h" 224 225#if !defined(lint) 226static const char rcsid[] = | 224/* "controller miibus0" required. See GENERIC if you get errors here. */ 225#include "miibus_if.h" 226 227#if !defined(lint) 228static const char rcsid[] = |
227 "$FreeBSD: head/sys/pci/if_tl.c 56060 2000-01-15 20:14:49Z wpaul $"; | 229 "$FreeBSD: head/sys/pci/if_tl.c 59758 2000-04-29 13:41:57Z peter $"; |
228#endif 229 230/* 231 * Various supported device vendors/types and their names. 232 */ 233 234static struct tl_type tl_devs[] = { 235 { TI_VENDORID, TI_DEVICEID_THUNDERLAN, --- 2123 unchanged lines hidden --- | 230#endif 231 232/* 233 * Various supported device vendors/types and their names. 234 */ 235 236static struct tl_type tl_devs[] = { 237 { TI_VENDORID, TI_DEVICEID_THUNDERLAN, --- 2123 unchanged lines hidden --- |