if_ti.c (162375) | if_ti.c (166165) |
---|---|
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 162375 2006-09-17 13:33:30Z andre $"); | 80__FBSDID("$FreeBSD: head/sys/dev/ti/if_ti.c 166165 2007-01-21 19:32:51Z marius $"); |
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> --- 2273 unchanged lines hidden (view full) --- 2362 if (ti_read_eeprom(sc, eaddr, 2363 TI_EE_MAC_OFFSET + 2, ETHER_ADDR_LEN)) { 2364 device_printf(dev, "failed to read station address\n"); 2365 error = ENXIO; 2366 goto fail; 2367 } 2368 2369 /* Allocate the general information block and ring buffers. */ | 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> --- 2273 unchanged lines hidden (view full) --- 2362 if (ti_read_eeprom(sc, eaddr, 2363 TI_EE_MAC_OFFSET + 2, ETHER_ADDR_LEN)) { 2364 device_printf(dev, "failed to read station address\n"); 2365 error = ENXIO; 2366 goto fail; 2367 } 2368 2369 /* Allocate the general information block and ring buffers. */ |
2370 if (bus_dma_tag_create(NULL, /* parent */ | 2370 if (bus_dma_tag_create(bus_get_dma_tag(dev), /* parent */ |
2371 1, 0, /* algnmnt, boundary */ 2372 BUS_SPACE_MAXADDR, /* lowaddr */ 2373 BUS_SPACE_MAXADDR, /* highaddr */ 2374 NULL, NULL, /* filter, filterarg */ 2375 BUS_SPACE_MAXSIZE_32BIT,/* maxsize */ 2376 0, /* nsegments */ 2377 BUS_SPACE_MAXSIZE_32BIT,/* maxsegsize */ 2378 0, /* flags */ --- 1509 unchanged lines hidden --- | 2371 1, 0, /* algnmnt, boundary */ 2372 BUS_SPACE_MAXADDR, /* lowaddr */ 2373 BUS_SPACE_MAXADDR, /* highaddr */ 2374 NULL, NULL, /* filter, filterarg */ 2375 BUS_SPACE_MAXSIZE_32BIT,/* maxsize */ 2376 0, /* nsegments */ 2377 BUS_SPACE_MAXSIZE_32BIT,/* maxsegsize */ 2378 0, /* flags */ --- 1509 unchanged lines hidden --- |