Deleted Added
full compact
if_ep_isa.c (121492) if_ep_isa.c (121588)
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 121492 2003-10-25 04:09:49Z imp $");
32__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_isa.c 121588 2003-10-26 22:28:20Z imp $");
33
34#include <sys/cdefs.h>
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_isa.c 121492 2003-10-25 04:09:49Z imp $");
35__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_isa.c 121588 2003-10-26 22:28:20Z 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

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

326 int error = 0;
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
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

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

326 int error = 0;
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);
334 GO_WINDOW(sc, 0);
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) {

--- 73 unchanged lines hidden ---
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) {

--- 73 unchanged lines hidden ---