xref: /netbsd-src/sys/arch/luna68k/stand/boot/preset.h (revision 40cac1aea1453906657d0ec56e1b29458db54928)
1*40cac1aeSmartin /*	$NetBSD: preset.h,v 1.3 2014/03/24 10:46:58 martin Exp $	*/
2df6945b8Stsutsui 
3df6945b8Stsutsui /*
4df6945b8Stsutsui  * Copyright (c) 1992 OMRON Corporation.
5df6945b8Stsutsui  *
6df6945b8Stsutsui  * This code is derived from software contributed to Berkeley by
7df6945b8Stsutsui  * OMRON Corporation.
8df6945b8Stsutsui  *
9df6945b8Stsutsui  * Redistribution and use in source and binary forms, with or without
10df6945b8Stsutsui  * modification, are permitted provided that the following conditions
11df6945b8Stsutsui  * are met:
12df6945b8Stsutsui  * 1. Redistributions of source code must retain the above copyright
13df6945b8Stsutsui  *    notice, this list of conditions and the following disclaimer.
14df6945b8Stsutsui  * 2. Redistributions in binary form must reproduce the above copyright
15df6945b8Stsutsui  *    notice, this list of conditions and the following disclaimer in the
16df6945b8Stsutsui  *    documentation and/or other materials provided with the distribution.
17df6945b8Stsutsui  * 3. All advertising materials mentioning features or use of this software
18df6945b8Stsutsui  *    must display the following acknowledgement:
19df6945b8Stsutsui  *	This product includes software developed by the University of
20df6945b8Stsutsui  *	California, Berkeley and its contributors.
21df6945b8Stsutsui  * 4. Neither the name of the University nor the names of its contributors
22df6945b8Stsutsui  *    may be used to endorse or promote products derived from this software
23df6945b8Stsutsui  *    without specific prior written permission.
24df6945b8Stsutsui  *
25df6945b8Stsutsui  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
26df6945b8Stsutsui  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27df6945b8Stsutsui  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28df6945b8Stsutsui  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
29df6945b8Stsutsui  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30df6945b8Stsutsui  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31df6945b8Stsutsui  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32df6945b8Stsutsui  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33df6945b8Stsutsui  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34df6945b8Stsutsui  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35df6945b8Stsutsui  * SUCH DAMAGE.
36df6945b8Stsutsui  *
37df6945b8Stsutsui  *	@(#)preset.h	8.1 (Berkeley) 6/10/93
38df6945b8Stsutsui  */
39df6945b8Stsutsui /*
40df6945b8Stsutsui  * Copyright (c) 1992, 1993
41df6945b8Stsutsui  *	The Regents of the University of California.  All rights reserved.
42df6945b8Stsutsui  *
43df6945b8Stsutsui  * This code is derived from software contributed to Berkeley by
44df6945b8Stsutsui  * OMRON Corporation.
45df6945b8Stsutsui  *
46df6945b8Stsutsui  * Redistribution and use in source and binary forms, with or without
47df6945b8Stsutsui  * modification, are permitted provided that the following conditions
48df6945b8Stsutsui  * are met:
49df6945b8Stsutsui  * 1. Redistributions of source code must retain the above copyright
50df6945b8Stsutsui  *    notice, this list of conditions and the following disclaimer.
51df6945b8Stsutsui  * 2. Redistributions in binary form must reproduce the above copyright
52df6945b8Stsutsui  *    notice, this list of conditions and the following disclaimer in the
53df6945b8Stsutsui  *    documentation and/or other materials provided with the distribution.
54df6945b8Stsutsui  * 3. Neither the name of the University nor the names of its contributors
55df6945b8Stsutsui  *    may be used to endorse or promote products derived from this software
56df6945b8Stsutsui  *    without specific prior written permission.
57df6945b8Stsutsui  *
58df6945b8Stsutsui  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
59df6945b8Stsutsui  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
60df6945b8Stsutsui  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
61df6945b8Stsutsui  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
62df6945b8Stsutsui  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
63df6945b8Stsutsui  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
64df6945b8Stsutsui  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
65df6945b8Stsutsui  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
66df6945b8Stsutsui  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
67df6945b8Stsutsui  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
68df6945b8Stsutsui  * SUCH DAMAGE.
69df6945b8Stsutsui  *
70df6945b8Stsutsui  *	@(#)preset.h	8.1 (Berkeley) 6/10/93
71df6945b8Stsutsui  */
72df6945b8Stsutsui 
73df6945b8Stsutsui /*
74*40cac1aeSmartin  * preset.h -- preset information
75df6945b8Stsutsui  *   by A.Fujita, Dec-12-1992
76df6945b8Stsutsui  */
77df6945b8Stsutsui 
78df6945b8Stsutsui /*
79df6945b8Stsutsui  * DIP SW-1
80df6945b8Stsutsui  */
81df6945b8Stsutsui 
82df6945b8Stsutsui #define	PS_AUTOBOOT	0x01	/* 1: PROM auto-boot */
83df6945b8Stsutsui #define	PS_BMC_CONS	0x02	/* 2: use bitmap display as console */
84df6945b8Stsutsui #define	PS_BW_DISP	0x04	/* 3: use B&W display (unused) */
85df6945b8Stsutsui 				/* 4: HD write verify (???) */
86df6945b8Stsutsui #define	PS_COFF		0x10	/* 5: boot COFF format kernel */
87df6945b8Stsutsui #define	PS_PLAIN	0x20	/* 6: number of bitmap plain (unused) */
880dfe4134Stsutsui 				/* NOTE: it has 4 plain, if turn it on,
890dfe4134Stsutsui 					else 1 */
90df6945b8Stsutsui 				/* 7: boot device (unused) */
910dfe4134Stsutsui 				/* NOTE: it should be net-booting,
920dfe4134Stsutsui 					if turn it on */
93df6945b8Stsutsui 				/* 8: load diagnostic program (unused) */
94df6945b8Stsutsui 
95