summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_el.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/if_el.c')
-rw-r--r--sys/i386/isa/if_el.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/isa/if_el.c b/sys/i386/isa/if_el.c
index 6a3c32d..a7520d7 100644
--- a/sys/i386/isa/if_el.c
+++ b/sys/i386/isa/if_el.c
@@ -6,7 +6,7 @@
*
* Questions, comments, bug reports and fixes to kimmel@cs.umass.edu.
*
- * $Id: if_el.c,v 1.36 1998/06/07 17:10:28 dfr Exp $
+ * $Id: if_el.c,v 1.37 1998/06/21 15:54:11 bde Exp $
*/
/* Except of course for the portions of code lifted from other FreeBSD
* drivers (mainly elread, elget and el_ioctl)
@@ -82,6 +82,7 @@ static void el_watchdog(struct ifnet *);
static void el_stop(int);
static int el_xmit(struct el_softc *,int);
+static ointhand2_t elintr;
static __inline void elread(struct el_softc *,caddr_t,int);
static struct mbuf *elget(caddr_t,int,int,struct ifnet *);
static __inline void el_hardreset(int);
@@ -161,6 +162,7 @@ el_attach(struct isa_device *idev)
dprintf(("Attaching el%d...\n",idev->id_unit));
/* Get things pointing to the right places. */
+ idev->id_ointr = elintr;
sc = &el_softc[idev->id_unit];
ifp = &sc->arpcom.ac_if;
base = sc->el_base;
@@ -428,7 +430,7 @@ static int el_xmit(struct el_softc *sc,int len)
}
/* controller interrupt */
-void elintr(int unit)
+static void elintr(int unit)
{
register struct el_softc *sc;
register int base;
OpenPOWER on IntegriCloud