152132Smckusick /* 252132Smckusick * Copyright (c) 1992 Regents of the University of California. 352132Smckusick * 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*58007Sralph * @(#)conf.c 7.5 (Berkeley) 02/15/93 1152132Smckusick */ 1252132Smckusick 1356640Sralph #include <stand/stand.h> 1452132Smckusick 15*58007Sralph const struct callback *callv; 16*58007Sralph int errno; 17*58007Sralph 1856640Sralph extern int nullsys(), nodev(), noioctl(); 1952132Smckusick 2056640Sralph int rzstrategy(), rzopen(), rzclose(); 2156640Sralph #define rzioctl noioctl 2252132Smckusick 23*58007Sralph #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*/ 31*58007Sralph #ifndef BOOT 3256640Sralph { "tz", tzstrategy, tzopen, tzclose, tzioctl }, /*1*/ 33*58007Sralph #endif 3456640Sralph }; 3556640Sralph 3656640Sralph int ndevs = (sizeof(devsw)/sizeof(devsw[0])); 37