11.1Smacallan/*	$NetBSD: obiovar.h,v 1.1 2019/02/14 21:47:52 macallan Exp $	*/
21.1Smacallan
31.1Smacallan/*
41.1Smacallan * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
51.1Smacallan * All rights reserved.
61.1Smacallan *
71.1Smacallan * Written by Jason R. Thorpe for Wasabi Systems, Inc.
81.1Smacallan *
91.1Smacallan * Redistribution and use in source and binary forms, with or without
101.1Smacallan * modification, are permitted provided that the following conditions
111.1Smacallan * are met:
121.1Smacallan * 1. Redistributions of source code must retain the above copyright
131.1Smacallan *    notice, this list of conditions and the following disclaimer.
141.1Smacallan * 2. Redistributions in binary form must reproduce the above copyright
151.1Smacallan *    notice, this list of conditions and the following disclaimer in the
161.1Smacallan *    documentation and/or other materials provided with the distribution.
171.1Smacallan * 3. All advertising materials mentioning features or use of this software
181.1Smacallan *    must display the following acknowledgement:
191.1Smacallan *	This product includes software developed for the NetBSD Project by
201.1Smacallan *	Wasabi Systems, Inc.
211.1Smacallan * 4. The name of Wasabi Systems, Inc. may not be used to endorse
221.1Smacallan *    or promote products derived from this software without specific prior
231.1Smacallan *    written permission.
241.1Smacallan *
251.1Smacallan * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
261.1Smacallan * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
271.1Smacallan * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
281.1Smacallan * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
291.1Smacallan * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
301.1Smacallan * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
311.1Smacallan * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
321.1Smacallan * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
331.1Smacallan * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
341.1Smacallan * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
351.1Smacallan * POSSIBILITY OF SUCH DAMAGE.
361.1Smacallan */
371.1Smacallan
381.1Smacallan#ifndef _IYONIX_OBIOVAR_H_
391.1Smacallan#define	_IYONIX_OBIOVAR_H_
401.1Smacallan
411.1Smacallanstruct obio_attach_args {
421.1Smacallan	bus_space_tag_t oba_st;		/* bus space tag */
431.1Smacallan	bus_addr_t oba_addr;		/* address of device */
441.1Smacallan	bus_size_t oba_size;		/* size of device */
451.1Smacallan	int oba_width;			/* bus width */
461.1Smacallan	int oba_irq;			/* XINT interrupt bit # */
471.1Smacallan};
481.1Smacallan
491.1Smacallanextern struct bus_space obio_bs_tag;
501.1Smacallan
511.1Smacallan#endif /* _IYONIX_OBIOVAR_H_ */
52