summaryrefslogtreecommitdiffstats
path: root/sys/dev/rc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/rc')
-rw-r--r--sys/dev/rc/rc.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index ce6dab2..29ade03 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -39,13 +39,14 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/kernel.h>
#include <sys/tty.h>
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/fcntl.h>
+#include <sys/bus.h>
#include <sys/interrupt.h>
-#include <sys/kernel.h>
#include <machine/clock.h>
#include <machine/ipl.h>
@@ -81,8 +82,12 @@ static int rcattach __P((struct isa_device *));
/* For isa routines */
struct isa_driver rcdriver = {
- rcprobe, rcattach, "rc"
+ INTR_TYPE_TTY,
+ rcprobe,
+ rcattach,
+ "rc"
};
+COMPAT_ISA_DRIVER(rc, rcdriver);
static d_open_t rcopen;
static d_close_t rcclose;
OpenPOWER on IntegriCloud