diff options
Diffstat (limited to 'sys/gnu/i386/isa/dgm.c')
-rw-r--r-- | sys/gnu/i386/isa/dgm.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/gnu/i386/isa/dgm.c b/sys/gnu/i386/isa/dgm.c index 18122f0..a31ff9c 100644 --- a/sys/gnu/i386/isa/dgm.c +++ b/sys/gnu/i386/isa/dgm.c @@ -55,6 +55,7 @@ #include <sys/fcntl.h> #include <sys/kernel.h> #include <sys/sysctl.h> +#include <sys/bus.h> #include <machine/clock.h> @@ -63,6 +64,10 @@ #include <i386/isa/isa_device.h> +#ifndef COMPAT_OLDISA +#error "The dgm device requires the old isa compatibility shims" +#endif + #include <gnu/i386/isa/dgmfep.h> #include <gnu/i386/isa/dgmbios.h> #include <gnu/i386/isa/dgmreg.h> @@ -200,8 +205,13 @@ static void disc_optim __P((struct tty *tp, struct termios *t)); struct isa_driver dgmdriver = { - dgmprobe, dgmattach, "dgm",0 + INTR_TYPE_TTY, + dgmprobe, + dgmattach, + "dgm", + 0 }; +COMPAT_ISA_DRIVER(dgm, dgmdriver); static d_open_t dgmopen; static d_close_t dgmclose; |