152132Smckusick /* 2*63226Sbostic * Copyright (c) 1992, 1993 3*63226Sbostic * The Regents of the University of California. All rights reserved. 452132Smckusick * 552132Smckusick * This code is derived from software contributed to Berkeley by 652132Smckusick * Ralph Campbell. 752132Smckusick * 852132Smckusick * %sccs.include.redist.c% 952132Smckusick * 10*63226Sbostic * @(#)conf.c 8.1 (Berkeley) 06/10/93 1152132Smckusick */ 1252132Smckusick 1356640Sralph #include <stand/stand.h> 1452132Smckusick 1558007Sralph const struct callback *callv; 1658007Sralph int errno; 1758007Sralph 1856640Sralph extern int nullsys(), nodev(), noioctl(); 1952132Smckusick 2056640Sralph int rzstrategy(), rzopen(), rzclose(); 2156640Sralph #define rzioctl noioctl 2252132Smckusick 2358007Sralph #ifndef BOOT 2456640Sralph int tzstrategy(), tzopen(), tzclose(); 2556640Sralph #endif 2656640Sralph #define tzioctl noioctl 2752132Smckusick 2856640Sralph 2956640Sralph struct devsw devsw[] = { 3056640Sralph { "rz", rzstrategy, rzopen, rzclose, rzioctl }, /*0*/ 3158007Sralph #ifndef BOOT 3256640Sralph { "tz", tzstrategy, tzopen, tzclose, tzioctl }, /*1*/ 3358007Sralph #endif 3456640Sralph }; 3556640Sralph 3656640Sralph int ndevs = (sizeof(devsw)/sizeof(devsw[0])); 37