obiovar.h revision 302408
146283Sdfr/* $NetBSD: obiovar.h,v 1.4 2003/06/16 17:40:53 thorpej Exp $ */ 246283Sdfr 346283Sdfr/*- 446283Sdfr * Copyright (c) 2002, 2003 Wasabi Systems, Inc. 546283Sdfr * All rights reserved. 646283Sdfr * 746283Sdfr * Written by Jason R. Thorpe for Wasabi Systems, Inc. 846283Sdfr * 946283Sdfr * Redistribution and use in source and binary forms, with or without 1046283Sdfr * modification, are permitted provided that the following conditions 1146283Sdfr * are met: 1246283Sdfr * 1. Redistributions of source code must retain the above copyright 1346283Sdfr * notice, this list of conditions and the following disclaimer. 1446283Sdfr * 2. Redistributions in binary form must reproduce the above copyright 1546283Sdfr * notice, this list of conditions and the following disclaimer in the 1646283Sdfr * documentation and/or other materials provided with the distribution. 1746283Sdfr * 3. All advertising materials mentioning features or use of this software 1846283Sdfr * must display the following acknowledgement: 1946283Sdfr * This product includes software developed for the NetBSD Project by 2046283Sdfr * Wasabi Systems, Inc. 2146283Sdfr * 4. The name of Wasabi Systems, Inc. may not be used to endorse 2246283Sdfr * or promote products derived from this software without specific prior 2346283Sdfr * written permission. 2446283Sdfr * 2546283Sdfr * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND 2646283Sdfr * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2746283Sdfr * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2846283Sdfr * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 2946283Sdfr * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 3046283Sdfr * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 3146283Sdfr * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 3246283Sdfr * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 3346283Sdfr * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 3446283Sdfr * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 3546283Sdfr * POSSIBILITY OF SUCH DAMAGE. 3646283Sdfr * 3746283Sdfr * $FreeBSD: stable/11/sys/arm/xscale/i8134x/obiovar.h 277477 2015-01-21 05:05:07Z ian $ 3846283Sdfr * 3946283Sdfr */ 4046283Sdfr 4146283Sdfr#ifndef _IQ81342_OBIOVAR_H_ 4246283Sdfr#define _IQ81342_OBIOVAR_H_ 4346283Sdfr 4446283Sdfr#include <sys/rman.h> 4546283Sdfr 4646283Sdfrstruct obio_softc { 4746283Sdfr bus_space_tag_t oba_st; /* bus space tag */ 4846283Sdfr int oba_irq; /* XINT interrupt bit # */ 4946283Sdfr struct rman oba_rman; 5046283Sdfr struct rman oba_irq_rman; 5146283Sdfr 5246283Sdfr}; 5346283Sdfrextern bus_space_tag_t obio_bs_tag; 5446283Sdfr 5546283Sdfr#endif /* _IQ80321_OBIOVAR_H_ */ 5646283Sdfr