move dev routines into machine independent file
[unix-history] / usr / src / sys / vax / stand / confhpup.c
CommitLineData
8ae0e4b4 1/*
7bb7c313
KB
2 * Copyright (c) 1982, 1986, 1988 Regents of the University of California.
3 * All rights reserved.
8ae0e4b4 4 *
7bb7c313
KB
5 * Redistribution and use in source and binary forms are permitted
6 * provided that this notice is preserved and that due credit is given
7 * to the University of California at Berkeley. The name of the University
8 * may not be used to endorse or promote products derived from this
9 * software without specific prior written permission. This software
10 * is provided ``as is'' without express or implied warranty.
11 *
12 * @(#)confhpup.c 7.3 (Berkeley) %G%
8ae0e4b4 13 */
9c01e065 14
7bb7c313
KB
15#include "param.h"
16#include "fs.h"
17#include "inode.h"
9c01e065
SL
18#include "saio.h"
19
7bb7c313 20int nullsys();
9c01e065
SL
21int hpstrategy(), hpopen(), hpioctl();
22int upstrategy(), upopen(), upioctl();
23
24struct devsw devsw[] = {
25 { "hp", hpstrategy, hpopen, nullsys, hpioctl },
26 { "up", upstrategy, upopen, nullsys, upioctl },
27 { 0, 0, 0, 0, 0 }
28};
b56b77e2
MK
29
30int ndevs = (sizeof(devsw) / sizeof(devsw[0]) - 1);