xref: /original-bsd/sys/i386/stand/conf.c (revision 403c148d)
1 /*-
2  * Copyright (c) 1990 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * William Jolitz.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)conf.c	7.3 (Berkeley) 05/04/91
11  */
12 
13 #include "sys/param.h"
14 #include "stand/saio.h"
15 
16 extern int	nullsys(), nodev(), noioctl();
17 
18 int	wdstrategy(), wdopen();
19 #define	wdioctl	noioctl
20 
21 int	fdstrategy(), fdopen();
22 #define	fdioctl noioctl
23 
24 struct devsw devsw[] = {
25 	{ "wd",	wdstrategy,	wdopen,	nullsys, wdioctl },	/* 0 = wd */
26 	{ NULL },				/* swapdev place holder */
27 	{ "fd",	fdstrategy,	fdopen,	nullsys, fdioctl },	/* 2 = fd */
28 };
29 int	ndevs = (sizeof(devsw)/sizeof(devsw[0]));
30