1189251Ssam/*	$NetBSD: obiovar.h,v 1.3 2003/06/15 19:03:47 thorpej Exp $	*/
2189251Ssam
3189251Ssam/*
4189251Ssam * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
5189251Ssam * All rights reserved.
6189251Ssam *
7189251Ssam * Written by Jason R. Thorpe for Wasabi Systems, Inc.
8189251Ssam *
9189251Ssam * Redistribution and use in source and binary forms, with or without
10189251Ssam * modification, are permitted provided that the following conditions
11189251Ssam * are met:
12189251Ssam * 1. Redistributions of source code must retain the above copyright
13189251Ssam *    notice, this list of conditions and the following disclaimer.
14189251Ssam * 2. Redistributions in binary form must reproduce the above copyright
15189251Ssam *    notice, this list of conditions and the following disclaimer in the
16189251Ssam *    documentation and/or other materials provided with the distribution.
17189251Ssam * 3. All advertising materials mentioning features or use of this software
18189251Ssam *    must display the following acknowledgement:
19189251Ssam *	This product includes software developed for the NetBSD Project by
20189251Ssam *	Wasabi Systems, Inc.
21189251Ssam * 4. The name of Wasabi Systems, Inc. may not be used to endorse
22189251Ssam *    or promote products derived from this software without specific prior
23189251Ssam *    written permission.
24189251Ssam *
25189251Ssam * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
26189251Ssam * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
27189251Ssam * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28189251Ssam * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
29189251Ssam * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30189251Ssam * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31189251Ssam * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32189251Ssam * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33189251Ssam * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34189251Ssam * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35189251Ssam * POSSIBILITY OF SUCH DAMAGE.
36189251Ssam */
37189251Ssam
38189251Ssam#ifndef _IQ80310_OBIOVAR_H_
39189251Ssam#define	_IQ80310_OBIOVAR_H_
40189251Ssam
41189251Ssamstruct obio_attach_args {
42189251Ssam	bus_space_tag_t oba_st;		/* bus space tag */
43189251Ssam	bus_addr_t oba_addr;		/* address of device */
44189251Ssam	bus_size_t oba_size;		/* size of device */
45189251Ssam	int oba_width;			/* bus width */
46189251Ssam	int oba_irq;			/* CPLD interrupt bit # */
47189251Ssam};
48189251Ssam
49189251Ssamextern struct bus_space obio_bs_tag;
50189251Ssam
51189251Ssam#endif /* _IQ80310_OBIOVAR_H_ */
52189251Ssam