include time.h
[unix-history] / usr / src / sys / hp300 / stand / conf.c
CommitLineData
a8fd2d0d
KM
1/*
2 * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
ffc8acfc 7 * @(#)conf.c 7.3 (Berkeley) %G%
a8fd2d0d
KM
8 */
9
ffc8acfc 10#include <sys/param.h>
a8fd2d0d
KM
11#include "saio.h"
12
ffc8acfc 13extern int nullsys(), nodev(), noioctl();
a8fd2d0d 14
a8fd2d0d
KM
15#ifndef BOOT
16int ctstrategy(), ctopen(), ctclose();
ffc8acfc 17#define ctioctl noioctl
a8fd2d0d
KM
18#endif
19
ffc8acfc
KB
20int rdstrategy(), rdopen();
21#define rdioctl noioctl
22
23int sdstrategy(), sdopen();
24#define sdioctl noioctl
25
26
a8fd2d0d 27struct devsw devsw[] = {
ffc8acfc
KB
28 { "rd", rdstrategy, rdopen, nullsys, noioctl }, /* 0 = rd */
29 { "sd", sdstrategy, sdopen, nullsys, noioctl }, /* 1 = sd */
a8fd2d0d 30#ifndef BOOT
ffc8acfc 31 { "ct", ctstrategy, ctopen, ctclose, noioctl }, /* 2 = ct */
a8fd2d0d 32#endif
ffc8acfc 33 { NULL },
a8fd2d0d 34};
ffc8acfc
KB
35
36int ndevs = (sizeof(devsw)/sizeof(devsw[0]));