xref: /netbsd-src/sys/arch/hpcmips/dev/it8368var.h (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: it8368var.h,v 1.3 2008/04/28 20:23:21 martin Exp $ */
2f60ef901Such 
358f851eeSuch /*-
458f851eeSuch  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
5f60ef901Such  * All rights reserved.
6f60ef901Such  *
758f851eeSuch  * This code is derived from software contributed to The NetBSD Foundation
858f851eeSuch  * by UCHIYAMA Yasushi.
958f851eeSuch  *
10f60ef901Such  * Redistribution and use in source and binary forms, with or without
11f60ef901Such  * modification, are permitted provided that the following conditions
12f60ef901Such  * are met:
13f60ef901Such  * 1. Redistributions of source code must retain the above copyright
14f60ef901Such  *    notice, this list of conditions and the following disclaimer.
1558f851eeSuch  * 2. Redistributions in binary form must reproduce the above copyright
1658f851eeSuch  *    notice, this list of conditions and the following disclaimer in the
1758f851eeSuch  *    documentation and/or other materials provided with the distribution.
18f60ef901Such  *
1958f851eeSuch  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
2058f851eeSuch  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
2158f851eeSuch  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2258f851eeSuch  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2358f851eeSuch  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2458f851eeSuch  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2558f851eeSuch  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2658f851eeSuch  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2758f851eeSuch  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2858f851eeSuch  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2958f851eeSuch  * POSSIBILITY OF SUCH DAMAGE.
30f60ef901Such  */
31f60ef901Such 
32f60ef901Such /* IT8368E legacy/fix attr mode */
3358f851eeSuch void it8368_mode(pcmcia_chipset_handle_t, int, int);
34f60ef901Such 
35f60ef901Such #define IT8368_ATTR_MODE	0
36f60ef901Such #define IT8368_IO_MODE		1
37f60ef901Such 
38f60ef901Such #define	IT8368_WIDTH_16		0
39f60ef901Such #define	IT8368_WIDTH_8		1
40