xref: /netbsd-src/sys/arch/hpcarm/dev/ipaq_lcdvar.h (revision 9edf49b047b567f256fdc9669452ea6dc2188733)
1*9edf49b0Sdyoung /*	$NetBSD: ipaq_lcdvar.h,v 1.4 2011/07/19 15:37:38 dyoung Exp $ */
2034e3a0dSichiro 
3034e3a0dSichiro /*-
4034e3a0dSichiro  * Copyright (c) 2001 The NetBSD Foundation, Inc.
5034e3a0dSichiro  * All rights reserved.
6034e3a0dSichiro  *
7034e3a0dSichiro  * This code is derived from software contributed to The NetBSD Foundation
8034e3a0dSichiro  * by Ichiro FUKUHARA.
9034e3a0dSichiro  *
10034e3a0dSichiro  * Redistribution and use in source and binary forms, with or without
11034e3a0dSichiro  * modification, are permitted provided that the following conditions
12034e3a0dSichiro  * are met:
13034e3a0dSichiro  * 1. Redistributions of source code must retain the above copyright
14034e3a0dSichiro  *    notice, this list of conditions and the following disclaimer.
15034e3a0dSichiro  * 2. Redistributions in binary form must reproduce the above copyright
16034e3a0dSichiro  *    notice, this list of conditions and the following disclaimer in the
17034e3a0dSichiro  *    documentation and/or other materials provided with the distribution.
18034e3a0dSichiro  *
19034e3a0dSichiro  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20034e3a0dSichiro  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21034e3a0dSichiro  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22034e3a0dSichiro  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23034e3a0dSichiro  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24034e3a0dSichiro  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25034e3a0dSichiro  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26034e3a0dSichiro  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27034e3a0dSichiro  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28034e3a0dSichiro  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29034e3a0dSichiro  * POSSIBILITY OF SUCH DAMAGE.
30034e3a0dSichiro  */
31034e3a0dSichiro 
32*9edf49b0Sdyoung #include <sys/bus.h>
33034e3a0dSichiro #include <dev/wscons/wsdisplayvar.h>
34034e3a0dSichiro #include <dev/rasops/rasops.h>
35034e3a0dSichiro 
36034e3a0dSichiro #include <dev/hpc/hpcfbvar.h>
37034e3a0dSichiro #include <dev/hpc/hpcfbio.h>
38034e3a0dSichiro 
39034e3a0dSichiro struct ipaqlcd_softc {
404c494f76Srjs 	device_t		sc_dev;
41034e3a0dSichiro 	bus_space_tag_t		sc_iot;
42034e3a0dSichiro 	bus_space_handle_t	sc_ioh;
43034e3a0dSichiro 	struct ipaq_softc	*sc_parent;
44034e3a0dSichiro 
45034e3a0dSichiro 	struct hpcfb_fbconf	sc_fbconf;
46034e3a0dSichiro 	struct hpcfb_dspconf	sc_dspconf;
47034e3a0dSichiro };
48