1 /* 2 * Copyright (c) 1982, 1986, 1988 Regents of the University of California. 3 * All rights reserved. 4 * 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) 02/22/88 13 */ 14 15 #include "param.h" 16 #include "fs.h" 17 #include "inode.h" 18 #include "saio.h" 19 20 int nullsys(); 21 int hpstrategy(), hpopen(), hpioctl(); 22 int upstrategy(), upopen(), upioctl(); 23 24 struct devsw devsw[] = { 25 { "hp", hpstrategy, hpopen, nullsys, hpioctl }, 26 { "up", upstrategy, upopen, nullsys, upioctl }, 27 { 0, 0, 0, 0, 0 } 28 }; 29 30 int ndevs = (sizeof(devsw) / sizeof(devsw[0]) - 1); 31