1171626Scognet/*	$NetBSD: obiovar.h,v 1.4 2003/06/16 17:40:53 thorpej Exp $	*/
2171626Scognet
3171626Scognet/*-
4171626Scognet * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
5171626Scognet * All rights reserved.
6171626Scognet *
7171626Scognet * Written by Jason R. Thorpe for Wasabi Systems, Inc.
8171626Scognet *
9171626Scognet * Redistribution and use in source and binary forms, with or without
10171626Scognet * modification, are permitted provided that the following conditions
11171626Scognet * are met:
12171626Scognet * 1. Redistributions of source code must retain the above copyright
13171626Scognet *    notice, this list of conditions and the following disclaimer.
14171626Scognet * 2. Redistributions in binary form must reproduce the above copyright
15171626Scognet *    notice, this list of conditions and the following disclaimer in the
16171626Scognet *    documentation and/or other materials provided with the distribution.
17171626Scognet * 3. All advertising materials mentioning features or use of this software
18171626Scognet *    must display the following acknowledgement:
19171626Scognet *	This product includes software developed for the NetBSD Project by
20171626Scognet *	Wasabi Systems, Inc.
21171626Scognet * 4. The name of Wasabi Systems, Inc. may not be used to endorse
22171626Scognet *    or promote products derived from this software without specific prior
23171626Scognet *    written permission.
24171626Scognet *
25171626Scognet * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
26171626Scognet * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
27171626Scognet * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28171626Scognet * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
29171626Scognet * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30171626Scognet * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31171626Scognet * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32171626Scognet * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33171626Scognet * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34171626Scognet * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35171626Scognet * POSSIBILITY OF SUCH DAMAGE.
36171626Scognet *
37171626Scognet * $FreeBSD: releng/11.0/sys/arm/xscale/i8134x/obiovar.h 277477 2015-01-21 05:05:07Z ian $
38171626Scognet *
39171626Scognet */
40171626Scognet
41171626Scognet#ifndef _IQ81342_OBIOVAR_H_
42171626Scognet#define	_IQ81342_OBIOVAR_H_
43171626Scognet
44171626Scognet#include <sys/rman.h>
45171626Scognet
46171626Scognetstruct obio_softc {
47171626Scognet	bus_space_tag_t oba_st;		/* bus space tag */
48171626Scognet	int oba_irq;			/* XINT interrupt bit # */
49171626Scognet	struct rman oba_rman;
50171626Scognet	struct rman oba_irq_rman;
51171626Scognet
52171626Scognet};
53277477Sianextern bus_space_tag_t obio_bs_tag;
54171626Scognet
55171626Scognet#endif /* _IQ80321_OBIOVAR_H_ */
56