if_ep_isa.c (119572) | if_ep_isa.c (121206) |
---|---|
1/* 2 * Copyright (c) 1994 Herb Peyerl <hpeyerl@novatel.ca> 3 * 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 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 1994 Herb Peyerl <hpeyerl@novatel.ca> 3 * 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 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_isa.c 119572 2003-08-30 08:10:58Z markm $"); | 32__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_isa.c 121206 2003-10-18 15:22:43Z imp $"); |
33 34#include <sys/cdefs.h> | 33 34#include <sys/cdefs.h> |
35__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_isa.c 119572 2003-08-30 08:10:58Z markm $"); | 35__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_isa.c 121206 2003-10-18 15:22:43Z imp $"); |
36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/kernel.h> 40#include <sys/socket.h> 41#include <sys/module.h> 42#include <sys/bus.h> 43 --- 283 unchanged lines hidden (view full) --- 327 328 if ((error = ep_alloc(dev))) { 329 device_printf(dev, "ep_alloc() failed! (%d)\n", error); 330 goto bad; 331 } 332 ep_get_media(sc); 333 334 GO_WINDOW(0); | 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/kernel.h> 40#include <sys/socket.h> 41#include <sys/module.h> 42#include <sys/bus.h> 43 --- 283 unchanged lines hidden (view full) --- 327 328 if ((error = ep_alloc(dev))) { 329 device_printf(dev, "ep_alloc() failed! (%d)\n", error); 330 goto bad; 331 } 332 ep_get_media(sc); 333 334 GO_WINDOW(0); |
335 SET_IRQ(BASE, rman_get_start(sc->irq)); | 335 SET_IRQ(sc, rman_get_start(sc->irq)); |
336 337 if ((error = ep_attach(sc))) { 338 device_printf(dev, "ep_attach() failed! (%d)\n", error); 339 goto bad; 340 } 341 error = ep_eeprom_cksum(sc); 342 if (error) { 343 device_printf(sc->dev, "Invalid EEPROM checksum!\n"); --- 72 unchanged lines hidden --- | 336 337 if ((error = ep_attach(sc))) { 338 device_printf(dev, "ep_attach() failed! (%d)\n", error); 339 goto bad; 340 } 341 error = ep_eeprom_cksum(sc); 342 if (error) { 343 device_printf(sc->dev, "Invalid EEPROM checksum!\n"); --- 72 unchanged lines hidden --- |