[BACK]Return to zaurus_var.h CVS log [TXT][DIR] Up to [local] / sys / arch / ipaq / include

Annotation of sys/arch/ipaq/include/zaurus_var.h, Revision 1.1.1.1

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

CVSweb