add USL's copyright notice
[unix-history] / usr / src / sys / i386 / stand / conf.c
CommitLineData
f395ef81 1/*-
2ae79493
KB
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
adb35f79
KB
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.
f395ef81
WN
9 *
10 * This code is derived from software contributed to Berkeley by
11 * William Jolitz.
12 *
afe104bb 13 * %sccs.include.redist.c%
f395ef81 14 *
adb35f79 15 * @(#)conf.c 8.2 (Berkeley) %G%
f395ef81
WN
16 */
17
38a01dbe
KB
18#include <sys/param.h>
19
20#include <stand/saio.h>
f395ef81 21
a3702a22 22extern int nullsys(), nodev(), noioctl();
f395ef81 23
a3702a22
KB
24int wdstrategy(), wdopen();
25#define wdioctl noioctl
f395ef81 26
a3702a22
KB
27int fdstrategy(), fdopen();
28#define fdioctl noioctl
f395ef81
WN
29
30struct devsw devsw[] = {
a3702a22
KB
31 { "wd", wdstrategy, wdopen, nullsys, wdioctl }, /* 0 = wd */
32 { NULL }, /* swapdev place holder */
33 { "fd", fdstrategy, fdopen, nullsys, fdioctl }, /* 2 = fd */
f395ef81 34};
a3702a22 35int ndevs = (sizeof(devsw)/sizeof(devsw[0]));