summaryrefslogtreecommitdiff
path: root/sys/dev/fe
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/fe
parenta782a31edc506a454d032c6f3f87236d04042163 (diff)
Notes
Diffstat (limited to 'sys/dev/fe')
-rw-r--r--sys/dev/fe/if_fe.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c
index 85e948d88d20..ae8613adaeee 100644
--- a/sys/dev/fe/if_fe.c
+++ b/sys/dev/fe/if_fe.c
@@ -21,7 +21,7 @@
*/
/*
- * $Id: if_fe.c,v 1.41 1998/06/07 17:10:31 dfr Exp $
+ * $Id: if_fe.c,v 1.42 1998/06/21 16:51:06 bde Exp $
*
* Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards.
* To be used with FreeBSD 2.x
@@ -236,6 +236,7 @@ static struct fe_softc {
static int fe_probe ( struct isa_device * );
static int fe_attach ( struct isa_device * );
static void fe_init ( int );
+static ointhand2_t feintr;
static int fe_ioctl ( struct ifnet *, u_long, caddr_t );
static void fe_start ( struct ifnet * );
static void fe_reset ( int );
@@ -1447,6 +1448,8 @@ fe_attach ( DEVICE * dev )
#endif
struct fe_softc *sc = &fe_softc[dev->id_unit];
+ dev->id_ointr = feintr;
+
/*
* Initialize ifnet structure
*/
@@ -2365,7 +2368,7 @@ fe_rint ( struct fe_softc * sc, u_char rstat )
/*
* Ethernet interface interrupt processor
*/
-void
+static void
feintr ( int unit )
{
struct fe_softc *sc = &fe_softc[unit];