xref: /csrg-svn/sys/vax/stand/confhpup.c (revision 33524)
123222Smckusick /*
2*33524Sbostic  * Copyright (c) 1982, 1986, 1988 Regents of the University of California.
3*33524Sbostic  * All rights reserved.
423222Smckusick  *
5*33524Sbostic  * Redistribution and use in source and binary forms are permitted
6*33524Sbostic  * provided that this notice is preserved and that due credit is given
7*33524Sbostic  * to the University of California at Berkeley. The name of the University
8*33524Sbostic  * may not be used to endorse or promote products derived from this
9*33524Sbostic  * software without specific prior written permission. This software
10*33524Sbostic  * is provided ``as is'' without express or implied warranty.
11*33524Sbostic  *
12*33524Sbostic  *	@(#)confhpup.c	7.3 (Berkeley) 02/22/88
1323222Smckusick  */
1410725Ssam 
15*33524Sbostic #include "param.h"
16*33524Sbostic #include "fs.h"
17*33524Sbostic #include "inode.h"
1810725Ssam #include "saio.h"
1910725Ssam 
20*33524Sbostic int	nullsys();
2110725Ssam int	hpstrategy(), hpopen(), hpioctl();
2210725Ssam int	upstrategy(), upopen(), upioctl();
2310725Ssam 
2410725Ssam struct devsw devsw[] = {
2510725Ssam 	{ "hp",	hpstrategy,	hpopen,		nullsys,	hpioctl },
2610725Ssam 	{ "up",	upstrategy,	upopen,		nullsys,	upioctl },
2710725Ssam 	{ 0, 0, 0, 0, 0 }
2810725Ssam };
2932210Skarels 
3032210Skarels int	ndevs = (sizeof(devsw) / sizeof(devsw[0]) - 1);
31