summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/istallion.c
diff options
context:
space:
mode:
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