obiovar.h revision 139735
1178476Sjb/*	$NetBSD: obiovar.h,v 1.4 2003/06/16 17:40:53 thorpej Exp $	*/
2178476Sjb
3178476Sjb/*-
4178476Sjb * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
5178476Sjb * All rights reserved.
6178476Sjb *
7178476Sjb * Written by Jason R. Thorpe for Wasabi Systems, Inc.
8178476Sjb *
9178476Sjb * Redistribution and use in source and binary forms, with or without
10178476Sjb * modification, are permitted provided that the following conditions
11178476Sjb * are met:
12178476Sjb * 1. Redistributions of source code must retain the above copyright
13178476Sjb *    notice, this list of conditions and the following disclaimer.
14178476Sjb * 2. Redistributions in binary form must reproduce the above copyright
15178476Sjb *    notice, this list of conditions and the following disclaimer in the
16178476Sjb *    documentation and/or other materials provided with the distribution.
17178476Sjb * 3. All advertising materials mentioning features or use of this software
18178476Sjb *    must display the following acknowledgement:
19178476Sjb *	This product includes software developed for the NetBSD Project by
20178476Sjb *	Wasabi Systems, Inc.
21178476Sjb * 4. The name of Wasabi Systems, Inc. may not be used to endorse
22178476Sjb *    or promote products derived from this software without specific prior
23178476Sjb *    written permission.
24178476Sjb *
25178476Sjb * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
26178476Sjb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
27178476Sjb * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28178476Sjb * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
29178476Sjb * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30178476Sjb * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31178476Sjb * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32178476Sjb * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33178476Sjb * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34178476Sjb * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35178476Sjb * POSSIBILITY OF SUCH DAMAGE.
36178476Sjb *
37178476Sjb * $FreeBSD: head/sys/arm/xscale/i80321/obiovar.h 139735 2005-01-05 21:58:49Z imp $
38178476Sjb *
39178476Sjb */
40178476Sjb
41178476Sjb#ifndef _IQ80321_OBIOVAR_H_
42178476Sjb#define	_IQ80321_OBIOVAR_H_
43178476Sjb
44178476Sjb#ifdef __RMAN_RESOURCE_VISIBLE
45178476Sjbstruct obio_softc {
46178476Sjb	bus_space_tag_t oba_st;		/* bus space tag */
47178476Sjb	bus_addr_t oba_addr;		/* address of device */
48178476Sjb	bus_size_t oba_size;		/* size of device */
49178476Sjb	int oba_width;			/* bus width */
50178476Sjb	int oba_irq;			/* XINT interrupt bit # */
51178476Sjb	struct rman oba_rman;
52178476Sjb
53178476Sjb};
54178476Sjb#endif /* __RMAN_RESOURCE_VISIBLE */
55178476Sjbextern struct bus_space obio_bs_tag;
56178476Sjb
57178476Sjb#endif /* _IQ80321_OBIOVAR_H_ */
58178476Sjb