obiovar.h revision 135669
162607Sitojun/* $NetBSD: obiovar.h,v 1.4 2003/06/16 17:40:53 thorpej Exp $ */ 278064Sume 355163Sshin/* 455163Sshin * Copyright (c) 2002, 2003 Wasabi Systems, Inc. 555163Sshin * All rights reserved. 655163Sshin * 762607Sitojun * Written by Jason R. Thorpe for Wasabi Systems, Inc. 855163Sshin * 955163Sshin * Redistribution and use in source and binary forms, with or without 1055163Sshin * modification, are permitted provided that the following conditions 1155163Sshin * are met: 1255163Sshin * 1. Redistributions of source code must retain the above copyright 1355163Sshin * notice, this list of conditions and the following disclaimer. 1455163Sshin * 2. Redistributions in binary form must reproduce the above copyright 1555163Sshin * notice, this list of conditions and the following disclaimer in the 1655163Sshin * documentation and/or other materials provided with the distribution. 1755163Sshin * 3. All advertising materials mentioning features or use of this software 1855163Sshin * must display the following acknowledgement: 1962607Sitojun * This product includes software developed for the NetBSD Project by 2055163Sshin * Wasabi Systems, Inc. 2155163Sshin * 4. The name of Wasabi Systems, Inc. may not be used to endorse 2255163Sshin * or promote products derived from this software without specific prior 2355163Sshin * written permission. 2455163Sshin * 2555163Sshin * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND 2655163Sshin * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2755163Sshin * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2855163Sshin * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 2955163Sshin * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 3055163Sshin * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 3155163Sshin * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 3255163Sshin * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 3362607Sitojun * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 3455163Sshin * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 3555163Sshin * POSSIBILITY OF SUCH DAMAGE. 3655163Sshin * 3755163Sshin * $FreeBSD: head/sys/arm/xscale/i80321/obiovar.h 135669 2004-09-23 22:45:36Z cognet $ 3855163Sshin * 3955163Sshin */ 4055163Sshin 4178064Sume#ifndef _IQ80321_OBIOVAR_H_ 4278064Sume#define _IQ80321_OBIOVAR_H_ 4355163Sshin 44119035Sume#ifdef __RMAN_RESOURCE_VISIBLE 4555163Sshinstruct obio_softc { 4655163Sshin bus_space_tag_t oba_st; /* bus space tag */ 4755163Sshin bus_addr_t oba_addr; /* address of device */ 4855163Sshin bus_size_t oba_size; /* size of device */ 4955163Sshin int oba_width; /* bus width */ 5055163Sshin int oba_irq; /* XINT interrupt bit # */ 5155163Sshin struct rman oba_rman; 5255163Sshin 5355163Sshin}; 5455163Sshin#endif /* __RMAN_RESOURCE_VISIBLE */ 5555163Sshinextern struct bus_space obio_bs_tag; 5655163Sshin 5755163Sshin#endif /* _IQ80321_OBIOVAR_H_ */ 5855163Sshin