xref: /csrg-svn/sys/tahoe/stand/conf.c (revision 45796)
133653Sbostic /*
233653Sbostic  * Copyright (c) 1988 Regents of the University of California.
333653Sbostic  * All rights reserved.
433653Sbostic  *
544532Sbostic  * %sccs.include.redist.c%
633653Sbostic  *
7*45796Sbostic  *	@(#)conf.c	1.11 (Berkeley) 12/16/90
833653Sbostic  */
925866Ssam 
1043457Sroot #include "sys/param.h"
1143457Sroot #include "sys/time.h"
12*45796Sbostic #include "stand/saio.h"
1325866Ssam 
1433653Sbostic extern int	nullsys(), nodev(), noioctl();
1525866Ssam 
1629566Ssam int	vdstrategy(), vdopen();
1732555Sbostic int	hdstrategy(), hdopen();
1829566Ssam int	cystrategy(), cyopen(), cyclose();
1925866Ssam 
2025866Ssam struct devsw devsw[] = {
2133655Sbostic 	{ "ud",	nodev,		nodev,	nullsys, noioctl },  /* 0 = ud */
2233653Sbostic 	{ "dk",	vdstrategy,	vdopen,	nullsys, noioctl },  /* 1 = ht */
2333653Sbostic 	{ "hd",	hdstrategy,	hdopen,	nullsys, noioctl },  /* 2 = hd */
2429566Ssam #ifdef notdef
2533653Sbostic 	{ "xp",	xpstrategy,	xpopen,	nullsys, noioctl },  /* 3 = xp */
2629566Ssam #else
2733653Sbostic 	{ "xp",	nodev,		nodev,	nullsys, noioctl },
2829566Ssam #endif
2933653Sbostic 	{ "cy",	cystrategy,	cyopen,	cyclose, noioctl },  /* 4 = cy */
3029566Ssam 	{ 0 }
3125866Ssam };
3233653Sbostic int	ndevs = (sizeof(devsw)/sizeof(devsw[0]));
33