obiovar.h revision 285830
11573Srgrimes/* $NetBSD: obiovar.h,v 1.4 2003/06/16 17:40:53 thorpej Exp $ */ 2128004Stjr 31573Srgrimes/*- 41573Srgrimes * Copyright (c) 2002, 2003 Wasabi Systems, Inc. 51573Srgrimes * All rights reserved. 61573Srgrimes * 71573Srgrimes * Written by Jason R. Thorpe for Wasabi Systems, Inc. 81573Srgrimes * 9227753Stheraven * Redistribution and use in source and binary forms, with or without 10227753Stheraven * modification, are permitted provided that the following conditions 11227753Stheraven * are met: 12227753Stheraven * 1. Redistributions of source code must retain the above copyright 13227753Stheraven * notice, this list of conditions and the following disclaimer. 141573Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 151573Srgrimes * notice, this list of conditions and the following disclaimer in the 161573Srgrimes * documentation and/or other materials provided with the distribution. 171573Srgrimes * 3. All advertising materials mentioning features or use of this software 181573Srgrimes * must display the following acknowledgement: 191573Srgrimes * This product includes software developed for the NetBSD Project by 201573Srgrimes * Wasabi Systems, Inc. 211573Srgrimes * 4. The name of Wasabi Systems, Inc. may not be used to endorse 221573Srgrimes * or promote products derived from this software without specific prior 231573Srgrimes * written permission. 241573Srgrimes * 251573Srgrimes * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND 261573Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 271573Srgrimes * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 281573Srgrimes * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 291573Srgrimes * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 301573Srgrimes * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 311573Srgrimes * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 321573Srgrimes * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 331573Srgrimes * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 341573Srgrimes * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 351573Srgrimes * POSSIBILITY OF SUCH DAMAGE. 361573Srgrimes * 371573Srgrimes * $FreeBSD: releng/10.2/sys/mips/sentry5/obiovar.h 202175 2010-01-12 21:36:08Z imp $ 381573Srgrimes * 391573Srgrimes */ 401573Srgrimes 411573Srgrimes#ifndef _SENTRY5_OBIOVAR_H_ 4292986Sobrien#define _SENTRY5_OBIOVAR_H_ 4392986Sobrien 441573Srgrimes#include <sys/rman.h> 45121845Stjr 46105233Stjrstruct obio_softc { 47121845Stjr bus_space_tag_t oba_st; /* bus space tag */ 481573Srgrimes bus_addr_t oba_addr; /* address of device */ 491573Srgrimes bus_size_t oba_size; /* size of device */ 501573Srgrimes int oba_width; /* bus width */ 51129179Stjr int oba_irq; /* XINT interrupt bit # */ 52121845Stjr struct rman oba_rman; 53129153Stjr struct rman oba_irq_rman; 541573Srgrimes 55142654Sphantom}; 56142654Sphantomextern struct bus_space obio_bs_tag; 57142654Sphantom 58142654Sphantom#endif /* _SENTRY5_OBIOVAR_H_ */ 59142654Sphantom