Commit | Line | Data |
---|---|---|
f395ef81 | 1 | /*- |
2ae79493 KB |
2 | * Copyright (c) 1990, 1993 |
3 | * The Regents of the University of California. All rights reserved. | |
f395ef81 WN |
4 | * |
5 | * This code is derived from software contributed to Berkeley by | |
6 | * William Jolitz. | |
7 | * | |
afe104bb | 8 | * %sccs.include.redist.c% |
f395ef81 | 9 | * |
2ae79493 | 10 | * @(#)conf.c 8.1 (Berkeley) %G% |
f395ef81 WN |
11 | */ |
12 | ||
38a01dbe KB |
13 | #include <sys/param.h> |
14 | ||
15 | #include <stand/saio.h> | |
f395ef81 | 16 | |
a3702a22 | 17 | extern int nullsys(), nodev(), noioctl(); |
f395ef81 | 18 | |
a3702a22 KB |
19 | int wdstrategy(), wdopen(); |
20 | #define wdioctl noioctl | |
f395ef81 | 21 | |
a3702a22 KB |
22 | int fdstrategy(), fdopen(); |
23 | #define fdioctl noioctl | |
f395ef81 WN |
24 | |
25 | struct devsw devsw[] = { | |
a3702a22 KB |
26 | { "wd", wdstrategy, wdopen, nullsys, wdioctl }, /* 0 = wd */ |
27 | { NULL }, /* swapdev place holder */ | |
28 | { "fd", fdstrategy, fdopen, nullsys, fdioctl }, /* 2 = fd */ | |
f395ef81 | 29 | }; |
a3702a22 | 30 | int ndevs = (sizeof(devsw)/sizeof(devsw[0])); |