diff options
Diffstat (limited to 'sys/i386/isa/scd.c')
-rw-r--r-- | sys/i386/isa/scd.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/i386/isa/scd.c b/sys/i386/isa/scd.c index 7c83434..a0214bd 100644 --- a/sys/i386/isa/scd.c +++ b/sys/i386/isa/scd.c @@ -50,11 +50,12 @@ #include "scd.h" #include <sys/param.h> #include <sys/systm.h> +#include <sys/kernel.h> #include <sys/conf.h> #include <sys/bio.h> #include <sys/cdio.h> #include <sys/disklabel.h> -#include <sys/kernel.h> +#include <sys/bus.h> #include <machine/clock.h> #include <machine/stdarg.h> @@ -168,7 +169,13 @@ static int scd_toc_entry(int unit, struct ioc_read_toc_single_entry *te); static int scd_probe(struct isa_device *dev); static int scd_attach(struct isa_device *dev); -struct isa_driver scddriver = { scd_probe, scd_attach, "scd" }; +struct isa_driver scddriver = { + INTR_TYPE_BIO, + scd_probe, + scd_attach, + "scd" +}; +COMPAT_ISA_DRIVER(scd, scddriver); /* For canceling our timeout */ static struct callout_handle tohandle = CALLOUT_HANDLE_INITIALIZER(&tohanle); |