xref: /netbsd/sys/arch/zaurus/zaurus/zaurus_var.h (revision 6550d01e)
1 /*	$NetBSD: zaurus_var.h,v 1.2 2006/12/17 16:07:11 peter Exp $ */
2 /*	$OpenBSD: zaurus_var.h,v 1.4 2005/07/01 23:56:47 uwe Exp $	*/
3 /*	NetBSD: lubbock_var.h,v 1.1 2003/06/18 10:51:15 bsh Exp */
4 
5 /*
6  * Copyright (c) 2002, 2003  Genetec Corporation.  All rights reserved.
7  * Written by Hiroyuki Bessho for Genetec Corporation.
8  *
9  * Redistribution and use in source and binary forms, with or without
10  * modification, are permitted provided that the following conditions
11  * are met:
12  * 1. Redistributions of source code must retain the above copyright
13  *    notice, this list of conditions and the following disclaimer.
14  * 2. Redistributions in binary form must reproduce the above copyright
15  *    notice, this list of conditions and the following disclaimer in the
16  *    documentation and/or other materials provided with the distribution.
17  * 3. The name of Genetec Corporation may not be used to endorse or
18  *    promote products derived from this software without specific prior
19  *    written permission.
20  *
21  * THIS SOFTWARE IS PROVIDED BY GENETEC CORPORATION ``AS IS'' AND
22  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
23  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL GENETEC CORPORATION
25  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31  * POSSIBILITY OF SUCH DAMAGE.
32  */
33 
34 #ifndef _ZAURUS_ZAURUS_VAR_H
35 #define _ZAURUS_ZAURUS_VAR_H
36 
37 #ifdef _KERNEL
38 
39 #define ZAURUS_C860		0xC0860
40 #define ZAURUS_C3000		0xC3000
41 
42 #define ZAURUS_ISC860		(zaurusmod == ZAURUS_C860)
43 #define ZAURUS_ISC3000		(zaurusmod == ZAURUS_C3000)
44 
45 extern int zaurusmod;
46 extern int glass_console;
47 
48 void zaurus_restart(void);
49 
50 #endif	/* _KERNEL */
51 
52 #endif /* _ZAURUS_ZAURUS_VAR_H */
53