1 /* 2 * Copyright (c) 1982, 1986, 1988 Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)confhpup.c 7.7 (Berkeley) 12/16/90 8 */ 9 10 #include "sys/param.h" 11 #include "stand/saio.h" 12 13 int nullsys(); 14 int hpstrategy(), hpopen(), hpioctl(); 15 int upstrategy(), upopen(), upioctl(); 16 17 struct devsw devsw[] = { 18 { "hp", hpstrategy, hpopen, nullsys, hpioctl }, 19 { "up", upstrategy, upopen, nullsys, upioctl }, 20 { 0, 0, 0, 0, 0 } 21 }; 22 23 int ndevs = (sizeof(devsw) / sizeof(devsw[0]) - 1); 24