1 /* 2 * Copyright (c) 1992 OMRON Corporation. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * OMRON Corporation. 8 * 9 * %sccs.include.redist.c% 10 * 11 * @(#)ioconf.c 8.1 (Berkeley) 06/10/93 12 */ 13 14 #include <sys/param.h> 15 #include <sys/buf.h> 16 #include <sys/map.h> 17 #include <luna68k/stand/device.h> 18 19 20 #define C (caddr_t) 21 #define D (struct driver *) 22 23 extern struct driver scdriver; 24 extern struct driver sddriver; 25 extern struct driver stdriver; 26 27 struct hp_ctlr hp_cinit[] = { 28 /* driver, unit, alive, addr, flags */ 29 { &scdriver, 0, 0, C 0x0, 0x0 }, 30 0 31 }; 32 33 struct hp_device hp_dinit[] = { 34 /*driver, cdriver, unit, ctlr, slave, addr, dk, flags*/ 35 { &sddriver, &scdriver, 0, 0, 6, C 0x0, 1, 0x0 }, 36 { &sddriver, &scdriver, 1, 0, 5, C 0x0, 1, 0x0 }, 37 { &stdriver, &scdriver, 0, 0, 4, C 0x0, 0, 0x0 }, 38 0 39 }; 40