tsdiovar.h revision 1.1.6.2 1 1.1.6.2 skrll /* $NetBSD: tsdiovar.h,v 1.1.6.2 2005/11/10 14:05:37 skrll Exp $ */
2 1.1.6.2 skrll
3 1.1.6.2 skrll /*
4 1.1.6.2 skrll * Copyright (c) 2004 Jesse Off
5 1.1.6.2 skrll * All rights reserved.
6 1.1.6.2 skrll *
7 1.1.6.2 skrll * Redistribution and use in source and binary forms, with or without
8 1.1.6.2 skrll * modification, are permitted provided that the following conditions
9 1.1.6.2 skrll * are met:
10 1.1.6.2 skrll * 1. Redistributions of source code must retain the above copyright
11 1.1.6.2 skrll * notice, this list of conditions and the following disclaimer.
12 1.1.6.2 skrll * 2. Redistributions in binary form must reproduce the above copyright
13 1.1.6.2 skrll * notice, this list of conditions and the following disclaimer in the
14 1.1.6.2 skrll * documentation and/or other materials provided with the distribution.
15 1.1.6.2 skrll * 3. All advertising materials mentioning features or use of this software
16 1.1.6.2 skrll * must display the following acknowledgement:
17 1.1.6.2 skrll * This product includes software developed for the NetBSD Project by
18 1.1.6.2 skrll * Wasabi Systems, Inc.
19 1.1.6.2 skrll * 4. The name of Wasabi Systems, Inc. may not be used to endorse
20 1.1.6.2 skrll * or promote products derived from this software without specific prior
21 1.1.6.2 skrll * written permission.
22 1.1.6.2 skrll *
23 1.1.6.2 skrll * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
24 1.1.6.2 skrll * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
25 1.1.6.2 skrll * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
26 1.1.6.2 skrll * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC
27 1.1.6.2 skrll * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 1.1.6.2 skrll * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 1.1.6.2 skrll * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 1.1.6.2 skrll * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 1.1.6.2 skrll * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 1.1.6.2 skrll * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 1.1.6.2 skrll * POSSIBILITY OF SUCH DAMAGE.
34 1.1.6.2 skrll */
35 1.1.6.2 skrll
36 1.1.6.2 skrll #ifndef _TSDIOVAR_H_
37 1.1.6.2 skrll #define _TSDIOVAR_H_
38 1.1.6.2 skrll
39 1.1.6.2 skrll struct tsdio_softc {
40 1.1.6.2 skrll struct device sc_dev;
41 1.1.6.2 skrll bus_space_tag_t sc_iot;
42 1.1.6.2 skrll bus_space_handle_t sc_ioh;
43 1.1.6.2 skrll };
44 1.1.6.2 skrll
45 1.1.6.2 skrll struct tsdio_attach_args {
46 1.1.6.2 skrll bus_space_tag_t ta_iot;
47 1.1.6.2 skrll bus_space_handle_t ta_ioh;
48 1.1.6.2 skrll };
49 1.1.6.2 skrll
50 1.1.6.2 skrll #endif /* _TSDIOVAR_H_ */
51