1 /*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. 9 * 10 * This code is derived from software contributed to Berkeley by 11 * William Jolitz. 12 * 13 * %sccs.include.redist.c% 14 * 15 * @(#)conf.c 8.2 (Berkeley) 01/21/94 16 */ 17 18 #include <sys/param.h> 19 20 #include <stand/saio.h> 21 22 extern int nullsys(), nodev(), noioctl(); 23 24 int wdstrategy(), wdopen(); 25 #define wdioctl noioctl 26 27 int fdstrategy(), fdopen(); 28 #define fdioctl noioctl 29 30 struct devsw devsw[] = { 31 { "wd", wdstrategy, wdopen, nullsys, wdioctl }, /* 0 = wd */ 32 { NULL }, /* swapdev place holder */ 33 { "fd", fdstrategy, fdopen, nullsys, fdioctl }, /* 2 = fd */ 34 }; 35 int ndevs = (sizeof(devsw)/sizeof(devsw[0])); 36