summaryrefslogtreecommitdiffstats
path: root/sys/dev/fe
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-05-28 13:40:48 +0000
committerpeter <peter@FreeBSD.org>2000-05-28 13:40:48 +0000
commitda78ae6c9675a977414b94dce05e10ea7794242c (patch)
treeb698cb70726751826f1f715167f5f658303053f2 /sys/dev/fe
parent8a48a8126ed656b68c8dd9d9f7dc0626b8a25ec1 (diff)
downloadFreeBSD-src-da78ae6c9675a977414b94dce05e10ea7794242c.zip
FreeBSD-src-da78ae6c9675a977414b94dce05e10ea7794242c.tar.gz
Mass update of isa drivers using compatability shims to use
COMPAT_ISA_DRIVER() so that we can get rid of the evil isa_compat.h table.
Diffstat (limited to 'sys/dev/fe')
-rw-r--r--sys/dev/fe/if_fe.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c
index 821c80b..5a73a67 100644
--- a/sys/dev/fe/if_fe.c
+++ b/sys/dev/fe/if_fe.c
@@ -75,9 +75,11 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/kernel.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
+#include <sys/bus.h>
#include <net/ethernet.h>
#include <net/if.h>
@@ -96,6 +98,10 @@
#include <i386/isa/isa_device.h>
#include <i386/isa/icu.h>
+#ifndef COMPAT_OLDISA
+#error "The fe device requires the old isa compatibility shims"
+#endif
+
/* PCCARD suport */
/* XXX FIXME! doesn't work with new pccard code, must be converted! */
#ifdef notdef
@@ -264,11 +270,13 @@ static void fe_emptybuffer ( struct fe_softc * );
/* Driver struct used in the config code. This must be public (external.) */
struct isa_driver fedriver =
{
+ INTR_TYPE_NET,
fe_probe,
fe_attach,
"fe",
1 /* It's safe to mark as "sensitive" */
};
+COMPAT_ISA_DRIVER(fe, fedriver);
/*
* Fe driver specific constants which relate to 86960/86965.
OpenPOWER on IntegriCloud