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