aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/wt.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-05-28 13:40:48 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-05-28 13:40:48 +0000
commit6a4c2576dc38451d20c994bd9aaa237052ef5a6c (patch)
tree7d2bcb981eaa33af24a486d43171ff1e2bd0f29a /sys/i386/isa/wt.c
parent23dff9e0660784a140878911c18423e5cec4fa46 (diff)
downloadsrc-6a4c2576dc38451d20c994bd9aaa237052ef5a6c.tar.gz
src-6a4c2576dc38451d20c994bd9aaa237052ef5a6c.zip
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.
Notes
Notes: svn path=/head/; revision=61011
Diffstat (limited to 'sys/i386/isa/wt.c')
-rw-r--r--sys/i386/isa/wt.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/i386/isa/wt.c b/sys/i386/isa/wt.c
index c6b46e490f37..35fd31cd7f2f 100644
--- a/sys/i386/isa/wt.c
+++ b/sys/i386/isa/wt.c
@@ -67,12 +67,16 @@
#include <sys/malloc.h>
#include <sys/mtio.h>
#include <sys/conf.h>
+#include <sys/bus.h>
#include <machine/clock.h>
#include <i386/isa/isa_device.h>
#include <i386/isa/wtreg.h>
+#ifndef COMPAT_OLDISA
+#error "The wt device requires the old isa compatibility shims"
+#endif
/*
* Uncomment this to enable internal device tracing.
@@ -271,7 +275,13 @@ wtattach (struct isa_device *id)
return (1);
}
-struct isa_driver wtdriver = { wtprobe, wtattach, "wt", };
+struct isa_driver wtdriver = {
+ INTR_TYPE_BIO,
+ wtprobe,
+ wtattach,
+ "wt",
+};
+COMPAT_ISA_DRIVER(wt, wtdriver);
/*
* Open routine, called on every device open.