diff options
Diffstat (limited to 'sys/i386/isa/asc.c')
-rw-r--r-- | sys/i386/isa/asc.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/i386/isa/asc.c b/sys/i386/isa/asc.c index 1658d38..8b09619 100644 --- a/sys/i386/isa/asc.c +++ b/sys/i386/isa/asc.c @@ -47,6 +47,7 @@ #include <sys/poll.h> #include <sys/select.h> #include <sys/uio.h> +#include <sys/bus.h> #include <machine/asc_ioctl.h> @@ -54,6 +55,10 @@ #include <i386/isa/isa_device.h> #include <i386/isa/ascreg.h> +#ifndef COMPAT_OLDISA +#error "The asc device requires the old isa compatibility shims" +#endif + /*** *** CONSTANTS & DEFINES *** @@ -173,7 +178,14 @@ static struct asc_unit unittab[NASC]; ***/ static int ascprobe (struct isa_device *isdp); static int ascattach(struct isa_device *isdp); -struct isa_driver ascdriver = { ascprobe, ascattach, "asc" }; + +struct isa_driver ascdriver = { + INTR_TYPE_TTY, + ascprobe, + ascattach, + "asc" +}; +COMPAT_ISA_DRIVER(asc, ascdriver); static ointhand2_t ascintr; |