xref: /csrg-svn/sys/luna68k/stand/ioconf.c (revision 63199)
157086Sakito /*
257086Sakito  * Copyright (c) 1992 OMRON Corporation.
3*63199Sbostic  * Copyright (c) 1992, 1993
4*63199Sbostic  *	The Regents of the University of California.  All rights reserved.
557086Sakito  *
657086Sakito  * This code is derived from software contributed to Berkeley by
757086Sakito  * OMRON Corporation.
857086Sakito  *
957086Sakito  * %sccs.include.redist.c%
1057086Sakito  *
11*63199Sbostic  *	@(#)ioconf.c	8.1 (Berkeley) 06/10/93
1257086Sakito  */
1357086Sakito 
1457086Sakito #include <sys/param.h>
1557086Sakito #include <sys/buf.h>
1657086Sakito #include <sys/map.h>
1757086Sakito #include <luna68k/stand/device.h>
1857086Sakito 
1957086Sakito 
2057086Sakito #define C (caddr_t)
2157086Sakito #define D (struct driver *)
2257086Sakito 
2357086Sakito extern struct driver scdriver;
2457086Sakito extern struct driver sddriver;
2557086Sakito extern struct driver stdriver;
2657086Sakito 
2757086Sakito struct hp_ctlr hp_cinit[] = {
2857086Sakito /*	driver,		unit,	alive,	addr,	flags */
2957086Sakito 	{ &scdriver,	0,	0,	C 0x0,	0x0 },
3057086Sakito 	0
3157086Sakito };
3257086Sakito 
3357086Sakito struct hp_device hp_dinit[] = {
3457086Sakito /*driver,	cdriver,	unit,	ctlr,	slave,	addr,	dk,	flags*/
3557086Sakito { &sddriver,	&scdriver,	0,	0,	6,	C 0x0,	1,	0x0 },
3657086Sakito { &sddriver,	&scdriver,	1,	0,	5,	C 0x0,	1,	0x0 },
3757086Sakito { &stdriver,	&scdriver,	0,	0,	4,	C 0x0,	0,	0x0 },
3857086Sakito 0
3957086Sakito };
40