diff --git a/sys/i386/i386/conf.c b/sys/i386/i386/conf.c index a3842569d607..d38af7d993ea 100644 --- a/sys/i386/i386/conf.c +++ b/sys/i386/i386/conf.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)conf.c 5.8 (Berkeley) 5/12/91 - * $Id$ + * $Id: conf.c,v 1.9 1993/10/09 23:56:53 rgrimes Exp $ */ #include "param.h" @@ -102,6 +102,20 @@ int /*cddump(),*/cdsize(); #define cdsize NULL #endif +#include "mcd.h" +#if NMCD > 0 +int mcdopen(),mcdclose(),mcdstrategy(),mcdioctl(); +int /*mcddump(),*/mcdsize(); +#define mcddump enxio +#else +#define mcdopen enxio +#define mcdclose enxio +#define mcdstrategy enxio +#define mcdioctl enxio +#define mcddump enxio +#define mcdsize NULL +#endif + #include "ch.h" #if NCH > 0 int chopen(),chclose(),chioctl(); @@ -170,6 +184,8 @@ struct bdevsw bdevsw[] = stdump, stsize, NULL }, { cdopen, cdclose, cdstrategy, cdioctl, /*6*/ cddump, cdsize, NULL }, + { mcdopen, mcdclose, mcdstrategy, mcdioctl, /*7*/ + mcddump, mcdsize, NULL }, /* * If you need a bdev major number, please contact the 386bsd patchkit * coordinator by sending mail to "patches@cs.montana.edu". @@ -425,6 +441,9 @@ struct cdevsw cdevsw[] = { sioopen, sioclose, sioread, siowrite, /*28*/ sioioctl, siostop, sioreset, sio_tty, /* sio */ sioselect, enodev, NULL }, + { mcdopen, mcdclose, rawread, enodev, /*29*/ + mcdioctl, enodev, nullop, NULL, /* mitsumi cd */ + seltrue, enodev, mcdstrategy }, /* * If you need a cdev major number, please contact the 386bsd patchkit * coordinator by sending mail to "patches@cs.montana.edu".