Deleted Added
full compact
if_ep_eisa.c (46743) if_ep_eisa.c (49360)
1/*
2 * Product specific probe and attach routines for:
3 * 3COM 3C579 and 3C509(in eisa config mode) ethernet controllers
4 *
5 * Copyright (c) 1996 Justin T. Gibbs
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

14 * 2. Redistributions in binary form must reproduce the above copyright
15 * notice, this list of conditions and the following disclaimer in the
16 * documentation and/or other materials provided with the distribution.
17 * 3. Absolutely no warranty of function or purpose is made by the author
18 * Justin T. Gibbs.
19 * 4. Modifications may be freely made to this file if the above conditions
20 * are met.
21 *
1/*
2 * Product specific probe and attach routines for:
3 * 3COM 3C579 and 3C509(in eisa config mode) ethernet controllers
4 *
5 * Copyright (c) 1996 Justin T. Gibbs
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

14 * 2. Redistributions in binary form must reproduce the above copyright
15 * notice, this list of conditions and the following disclaimer in the
16 * documentation and/or other materials provided with the distribution.
17 * 3. Absolutely no warranty of function or purpose is made by the author
18 * Justin T. Gibbs.
19 * 4. Modifications may be freely made to this file if the above conditions
20 * are met.
21 *
22 * $Id: 3c5x9.c,v 1.11 1999/04/18 15:50:33 peter Exp $
22 * $Id: 3c5x9.c,v 1.12 1999/05/08 21:59:15 dfr Exp $
23 */
24
25#include "eisa.h"
26#if NEISA > 0
27
28#include <sys/param.h>
29#include <sys/systm.h>
30#include <sys/kernel.h>

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

155 default:
156 /* Disabled */
157 printf("ep: 3COM Network Adapter at "
158 "slot %d has its IRQ disabled. "
159 "Probe failed.\n",
160 eisa_get_slot(dev));
161 return ENXIO;
162 }
23 */
24
25#include "eisa.h"
26#if NEISA > 0
27
28#include <sys/param.h>
29#include <sys/systm.h>
30#include <sys/kernel.h>

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

155 default:
156 /* Disabled */
157 printf("ep: 3COM Network Adapter at "
158 "slot %d has its IRQ disabled. "
159 "Probe failed.\n",
160 eisa_get_slot(dev));
161 return ENXIO;
162 }
163 eisa_add_intr(dev, irq);
163 eisa_add_intr(dev, irq, EISA_TRIGGER_EDGE);
164
165 return 0;
166}
167
168static int
169ep_eisa_attach(device_t dev)
170{
171 struct ep_softc *sc;

--- 138 unchanged lines hidden ---
164
165 return 0;
166}
167
168static int
169ep_eisa_attach(device_t dev)
170{
171 struct ep_softc *sc;

--- 138 unchanged lines hidden ---