diff options
author | Peter Wemm <peter@FreeBSD.org> | 2000-05-28 13:40:48 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2000-05-28 13:40:48 +0000 |
commit | 6a4c2576dc38451d20c994bd9aaa237052ef5a6c (patch) | |
tree | 7d2bcb981eaa33af24a486d43171ff1e2bd0f29a /sys/dev/scd | |
parent | 23dff9e0660784a140878911c18423e5cec4fa46 (diff) | |
download | src-6a4c2576dc38451d20c994bd9aaa237052ef5a6c.tar.gz src-6a4c2576dc38451d20c994bd9aaa237052ef5a6c.zip |
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.
Notes
Notes:
svn path=/head/; revision=61011
Diffstat (limited to 'sys/dev/scd')
-rw-r--r-- | sys/dev/scd/scd.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c index 7c8343409004..a0214bd8397b 100644 --- a/sys/dev/scd/scd.c +++ b/sys/dev/scd/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); |