From da78ae6c9675a977414b94dce05e10ea7794242c Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 28 May 2000 13:40:48 +0000 Subject: 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. --- sys/dev/mcd/mcd.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'sys/dev/mcd/mcd.c') diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index aeb5e4c..23446f7 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 #include +#include #include #include #include #include #include -#include +#include #include @@ -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; -- cgit v1.1