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/mcd | |
| parent | 23dff9e0660784a140878911c18423e5cec4fa46 (diff) | |
Notes
Diffstat (limited to 'sys/dev/mcd')
| -rw-r--r-- | sys/dev/mcd/mcd.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index aeb5e4cb3ee3..23446f7b34ce 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -47,12 +47,13 @@ static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; #include "mcd.h" #include <sys/param.h> #include <sys/systm.h> +#include <sys/kernel.h> #include <sys/conf.h> #include <sys/fcntl.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> @@ -194,7 +195,13 @@ static int mcd_close_tray(int unit); static int mcd_probe(struct isa_device *dev); static int mcd_attach(struct isa_device *dev); -struct isa_driver mcddriver = { mcd_probe, mcd_attach, "mcd" }; +struct isa_driver mcddriver = { + INTR_TYPE_BIO, + mcd_probe, + mcd_attach, + "mcd" +}; +COMPAT_ISA_DRIVER(mcd, mcddriver); static d_open_t mcdopen; static d_close_t mcdclose; |
