xref: /original-bsd/sys/tahoe/stand/conf.c (revision 28e93ce0)
1 /*
2  * Copyright (c) 1988 Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)conf.c	1.11 (Berkeley) 12/16/90
8  */
9 
10 #include "sys/param.h"
11 #include "sys/time.h"
12 #include "stand/saio.h"
13 
14 extern int	nullsys(), nodev(), noioctl();
15 
16 int	vdstrategy(), vdopen();
17 int	hdstrategy(), hdopen();
18 int	cystrategy(), cyopen(), cyclose();
19 
20 struct devsw devsw[] = {
21 	{ "ud",	nodev,		nodev,	nullsys, noioctl },  /* 0 = ud */
22 	{ "dk",	vdstrategy,	vdopen,	nullsys, noioctl },  /* 1 = ht */
23 	{ "hd",	hdstrategy,	hdopen,	nullsys, noioctl },  /* 2 = hd */
24 #ifdef notdef
25 	{ "xp",	xpstrategy,	xpopen,	nullsys, noioctl },  /* 3 = xp */
26 #else
27 	{ "xp",	nodev,		nodev,	nullsys, noioctl },
28 #endif
29 	{ "cy",	cystrategy,	cyopen,	cyclose, noioctl },  /* 4 = cy */
30 	{ 0 }
31 };
32 int	ndevs = (sizeof(devsw)/sizeof(devsw[0]));
33