141072Swilliam /*- 263368Sbostic * Copyright (c) 1990, 1993 363368Sbostic * The Regents of the University of California. All rights reserved. 4*65770Sbostic * (c) UNIX System Laboratories, Inc. 5*65770Sbostic * All or some portions of this file are derived from material licensed 6*65770Sbostic * to the University of California by American Telephone and Telegraph 7*65770Sbostic * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8*65770Sbostic * the permission of UNIX System Laboratories, Inc. 941072Swilliam * 1041072Swilliam * This code is derived from software contributed to Berkeley by 1141072Swilliam * William Jolitz. 1241072Swilliam * 1348816Swilliam * %sccs.include.redist.c% 1441072Swilliam * 15*65770Sbostic * @(#)conf.c 8.2 (Berkeley) 01/21/94 1641072Swilliam */ 1741072Swilliam 1856514Sbostic #include <sys/param.h> 1941072Swilliam 2056514Sbostic #include <stand/saio.h> 2156514Sbostic 2249074Sbostic extern int nullsys(), nodev(), noioctl(); 2341072Swilliam 2449074Sbostic int wdstrategy(), wdopen(); 2549074Sbostic #define wdioctl noioctl 2641072Swilliam 2749074Sbostic int fdstrategy(), fdopen(); 2849074Sbostic #define fdioctl noioctl 2948816Swilliam 3041072Swilliam struct devsw devsw[] = { 3149074Sbostic { "wd", wdstrategy, wdopen, nullsys, wdioctl }, /* 0 = wd */ 3249074Sbostic { NULL }, /* swapdev place holder */ 3349074Sbostic { "fd", fdstrategy, fdopen, nullsys, fdioctl }, /* 2 = fd */ 3441072Swilliam }; 3549074Sbostic int ndevs = (sizeof(devsw)/sizeof(devsw[0])); 36