1275970Scy/* $NetBSD: obiovar.h,v 1.3 2003/06/15 19:03:47 thorpej Exp $ */ 2275970Scy 3275970Scy/* 4275970Scy * Copyright (c) 2002, 2003 Wasabi Systems, Inc. 5275970Scy * All rights reserved. 6275970Scy * 7275970Scy * Written by Jason R. Thorpe for Wasabi Systems, Inc. 8275970Scy * 9275970Scy * Redistribution and use in source and binary forms, with or without 10275970Scy * modification, are permitted provided that the following conditions 11275970Scy * are met: 12275970Scy * 1. Redistributions of source code must retain the above copyright 13275970Scy * notice, this list of conditions and the following disclaimer. 14275970Scy * 2. Redistributions in binary form must reproduce the above copyright 15275970Scy * notice, this list of conditions and the following disclaimer in the 16275970Scy * documentation and/or other materials provided with the distribution. 17275970Scy * 3. All advertising materials mentioning features or use of this software 18275970Scy * must display the following acknowledgement: 19275970Scy * This product includes software developed for the NetBSD Project by 20275970Scy * Wasabi Systems, Inc. 21275970Scy * 4. The name of Wasabi Systems, Inc. may not be used to endorse 22275970Scy * or promote products derived from this software without specific prior 23275970Scy * written permission. 24275970Scy * 25275970Scy * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND 26275970Scy * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 27275970Scy * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 28275970Scy * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 29275970Scy * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 30275970Scy * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 31275970Scy * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32275970Scy * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33275970Scy * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34275970Scy * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35275970Scy * POSSIBILITY OF SUCH DAMAGE. 36275970Scy */ 37275970Scy 38275970Scy#ifndef _IQ80321_OBIOVAR_H_ 39275970Scy#define _IQ80321_OBIOVAR_H_ 40275970Scy 41275970Scystruct obio_attach_args { 42275970Scy bus_space_tag_t oba_st; /* bus space tag */ 43275970Scy bus_addr_t oba_addr; /* address of device */ 44275970Scy bus_size_t oba_size; /* size of device */ 45275970Scy int oba_width; /* bus width */ 46275970Scy int oba_irq; /* XINT interrupt bit # */ 47275970Scy}; 48275970Scy 49275970Scyextern struct bus_space obio_bs_tag; 50275970Scy 51275970Scy#endif /* _IQ80321_OBIOVAR_H_ */ 52275970Scy