obiovar.h revision 256281
150276Speter/*	$NetBSD: obiovar.h,v 1.4 2003/06/16 17:40:53 thorpej Exp $	*/
2166124Srafan
350276Speter/*-
450276Speter * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
550276Speter * All rights reserved.
650276Speter *
750276Speter * Written by Jason R. Thorpe for Wasabi Systems, Inc.
850276Speter *
950276Speter * Redistribution and use in source and binary forms, with or without
1050276Speter * modification, are permitted provided that the following conditions
1150276Speter * are met:
1250276Speter * 1. Redistributions of source code must retain the above copyright
1350276Speter *    notice, this list of conditions and the following disclaimer.
1450276Speter * 2. Redistributions in binary form must reproduce the above copyright
1550276Speter *    notice, this list of conditions and the following disclaimer in the
1650276Speter *    documentation and/or other materials provided with the distribution.
1750276Speter * 3. All advertising materials mentioning features or use of this software
1850276Speter *    must display the following acknowledgement:
1950276Speter *	This product includes software developed for the NetBSD Project by
2050276Speter *	Wasabi Systems, Inc.
2150276Speter * 4. The name of Wasabi Systems, Inc. may not be used to endorse
2250276Speter *    or promote products derived from this software without specific prior
2350276Speter *    written permission.
2450276Speter *
2550276Speter * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
2650276Speter * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
2750276Speter * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2850276Speter * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
29166124Srafan * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
3050276Speter * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
3150276Speter * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
3262449Speter * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
3362449Speter * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
3462449Speter * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3562449Speter * POSSIBILITY OF SUCH DAMAGE.
3662449Speter *
3762449Speter * $FreeBSD: stable/10/sys/arm/xscale/i80321/obiovar.h 150552 2005-09-25 21:06:50Z cognet $
3862449Speter *
3962449Speter */
4050276Speter
4150276Speter#ifndef _IQ80321_OBIOVAR_H_
42166124Srafan#define	_IQ80321_OBIOVAR_H_
4350276Speter
4450276Speter#include <sys/rman.h>
4550276Speter
4650276Speterstruct obio_softc {
4750276Speter	bus_space_tag_t oba_st;		/* bus space tag */
4850276Speter	bus_addr_t oba_addr;		/* address of device */
4950276Speter	bus_size_t oba_size;		/* size of device */
5050276Speter	int oba_width;			/* bus width */
5150276Speter	int oba_irq;			/* XINT interrupt bit # */
5250276Speter	struct rman oba_rman;
5350276Speter	struct rman oba_irq_rman;
5450276Speter
5550276Speter};
5650276Speterextern struct bus_space obio_bs_tag;
5750276Speter
5850276Speter#endif /* _IQ80321_OBIOVAR_H_ */
5950276Speter