1 /* 2 * Copyright (c) 1992 Regents of the University of California. 3 * 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 7.5 (Berkeley) 02/15/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