summaryrefslogtreecommitdiff
path: root/sys/dev/cs/if_cs.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-10-22 05:58:45 +0000
committerBruce Evans <bde@FreeBSD.org>1998-10-22 05:58:45 +0000
commitfe310de802ddb8e453de4e7fd7e7d6302d071905 (patch)
tree65beace35d77f90e6033287861af9d0100eb75c9 /sys/dev/cs/if_cs.c
parenta782a31edc506a454d032c6f3f87236d04042163 (diff)
Notes
Diffstat (limited to 'sys/dev/cs/if_cs.c')
-rw-r--r--sys/dev/cs/if_cs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/cs/if_cs.c b/sys/dev/cs/if_cs.c
index 1d044deaa36d..3b63f4d824db 100644
--- a/sys/dev/cs/if_cs.c
+++ b/sys/dev/cs/if_cs.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: if_cs.c,v 1.4 1998/08/27 22:41:18 msmith Exp $
+ * $Id: if_cs.c,v 1.5 1998/10/04 02:11:15 msmith Exp $
*
* Device driver for Crystal Semiconductor CS8920 based ethernet
* adapters. By Maxim Bolotin and Oleg Sharoiko, 27-April-1997
@@ -108,6 +108,7 @@ SYSCTL_INT(_machdep, OID_AUTO, cs_recv_delay, CTLFLAG_RW, &cs_recv_delay, 0, "")
static int cs_attach __P((struct cs_softc *, int, int));
static int cs_attach_isa __P((struct isa_device *));
static void cs_init __P((void *));
+static ointhand2_t csintr;
static int cs_ioctl __P((struct ifnet *, u_long, caddr_t));
static int cs_probe __P((struct isa_device *));
static int cs_cs89x0_probe __P((struct cs_softc *,
@@ -633,6 +634,7 @@ cs_attach_isa(struct isa_device *dev)
struct cs_softc *sc=&cs_softc[unit];
int flags=dev->id_flags;
+ dev->id_ointr = csintr;
return cs_attach(sc, unit, flags);
}
@@ -871,7 +873,7 @@ csintr_sc(struct cs_softc *sc, int unit)
/*
* Handle interrupts
*/
-void
+static void
csintr(int unit)
{
struct cs_softc *sc = &cs_softc[unit];