summaryrefslogtreecommitdiffstats
path: root/sys/dev/rc
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/rc
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/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