xref: /original-bsd/sys/i386/stand/conf.c (revision edc2ab72)
1 /*-
2  * Copyright (c) 1990, 1993
3  *	The Regents of the University of California.  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	8.1 (Berkeley) 06/11/93
11  */
12 
13 #include <sys/param.h>
14 
15 #include <stand/saio.h>
16 
17 extern int	nullsys(), nodev(), noioctl();
18 
19 int	wdstrategy(), wdopen();
20 #define	wdioctl	noioctl
21 
22 int	fdstrategy(), fdopen();
23 #define	fdioctl noioctl
24 
25 struct devsw devsw[] = {
26 	{ "wd",	wdstrategy,	wdopen,	nullsys, wdioctl },	/* 0 = wd */
27 	{ NULL },				/* swapdev place holder */
28 	{ "fd",	fdstrategy,	fdopen,	nullsys, fdioctl },	/* 2 = fd */
29 };
30 int	ndevs = (sizeof(devsw)/sizeof(devsw[0]));
31