xref: /original-bsd/sys/pmax/stand/conf.c (revision 3705696b)
1 /*
2  * Copyright (c) 1992, 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  * Ralph Campbell.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)conf.c	8.1 (Berkeley) 06/10/93
11  */
12 
13 #include <stand/stand.h>
14 
15 const	struct callback *callv;
16 int	errno;
17 
18 extern int	nullsys(), nodev(), noioctl();
19 
20 int	rzstrategy(), rzopen(), rzclose();
21 #define	rzioctl		noioctl
22 
23 #ifndef BOOT
24 int	tzstrategy(), tzopen(), tzclose();
25 #endif
26 #define	tzioctl		noioctl
27 
28 
29 struct devsw devsw[] = {
30 	{ "rz",	rzstrategy,	rzopen,	rzclose,	rzioctl }, /*0*/
31 #ifndef BOOT
32 	{ "tz",	tzstrategy,	tzopen,	tzclose,	tzioctl }, /*1*/
33 #endif
34 };
35 
36 int	ndevs = (sizeof(devsw)/sizeof(devsw[0]));
37