summaryrefslogtreecommitdiffstats
path: root/sys/dev/rp
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/rp
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/rp')
-rw-r--r--sys/dev/rp/rp.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index bc846d5..a858496 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -40,12 +40,13 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/kernel.h>
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/tty.h>
#include <sys/proc.h>
#include <sys/conf.h>
-#include <sys/kernel.h>
+#include <sys/bus.h>
#include <i386/isa/isa_device.h>
@@ -787,8 +788,12 @@ COMPAT_PCI_DRIVER (rp_pci, rp_pcidevice);
static timeout_t rpdtrwakeup;
struct isa_driver rpdriver = {
- rpprobe, rpattach, "rp"
- };
+ INTR_TYPE_TTY,
+ rpprobe,
+ rpattach,
+ "rp"
+};
+COMPAT_ISA_DRIVER(rp, rpdriver);
static char driver_name[] = "rp";
OpenPOWER on IntegriCloud