Move the matcd includes to the right place.
This commit is contained in:
parent
3c034efc04
commit
d52f2f6e84
@ -42,7 +42,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)conf.c 5.8 (Berkeley) 5/12/91
|
||||
* $Id: conf.c,v 1.72 1995/03/02 04:06:20 jkh Exp $
|
||||
* $Id: conf.c,v 1.73 1995/03/02 07:33:59 jkh Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -208,6 +208,24 @@ d_psize_t scdsize;
|
||||
#define scdsize zerosize
|
||||
#endif
|
||||
|
||||
#include "matcd.h"
|
||||
#if NMATCD > 0
|
||||
d_open_t matcdopen;
|
||||
d_close_t matcdclose;
|
||||
d_strategy_t matcdstrategy;
|
||||
d_ioctl_t matcdioctl;
|
||||
d_dump_t matcddump;
|
||||
d_psize_t matcdsize;
|
||||
#define matcddump nxdump
|
||||
#else
|
||||
#define matcdopen nxopen
|
||||
#define matcdclose nxclose
|
||||
#define matcdstrategy nxstrategy
|
||||
#define matcdioctl nxioctl
|
||||
#define matcddump nxdump
|
||||
#define matcdsize (d_psize_t *)0
|
||||
#endif
|
||||
|
||||
#include "ch.h"
|
||||
#if NCH > 0
|
||||
d_open_t chopen;
|
||||
@ -886,23 +904,6 @@ d_ioctl_t ispyioctl;
|
||||
#define ispyioctl nxioctl
|
||||
#endif
|
||||
|
||||
#include "matcd.h"
|
||||
#if NMATCD > 0
|
||||
d_open_t matcdopen;
|
||||
d_close_t matcdclose;
|
||||
d_strategy_t matcdstrategy;
|
||||
d_ioctl_t matcdioctl;
|
||||
d_psize_t matcdsize;
|
||||
#define matcddump nxdump
|
||||
#else
|
||||
#define matcdopen nxopen
|
||||
#define matcdclose nxclose
|
||||
#define matcdstrategy nxstrategy
|
||||
#define matcdioctl nxioctl
|
||||
#define matcddump nxdump
|
||||
#define matcdsize (d_psize_t *)0
|
||||
#endif
|
||||
|
||||
/* open, close, read, write, ioctl, stop, reset, ttys, select, mmap, strat */
|
||||
struct cdevsw cdevsw[] =
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user