summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/istallion.c
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/i386/isa/istallion.c
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/i386/isa/istallion.c')
-rw-r--r--sys/i386/isa/istallion.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/i386/isa/istallion.c b/sys/i386/isa/istallion.c
index 816773b..5e2f76d 100644
--- a/sys/i386/isa/istallion.c
+++ b/sys/i386/isa/istallion.c
@@ -51,6 +51,7 @@
#include <sys/conf.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
+#include <sys/bus.h>
#include <machine/clock.h>
#include <vm/vm.h>
#include <vm/pmap.h>
@@ -58,6 +59,10 @@
#include <machine/cdk.h>
#include <machine/comstats.h>
+#ifndef COMPAT_OLDISA
+#error "The stli device requires the old isa compatibility shims"
+#endif
+
/*****************************************************************************/
/*
@@ -622,8 +627,12 @@ static char *stli_stalgetmemptr(stlibrd_t *brdp, unsigned long offset,
* Declare the driver isa structure.
*/
struct isa_driver stlidriver = {
- stliprobe, stliattach, stli_drvname
+ INTR_TYPE_TTY,
+ stliprobe,
+ stliattach,
+ stli_drvname
};
+COMPAT_ISA_DRIVER(stli, stlidriver);
/*****************************************************************************/
OpenPOWER on IntegriCloud