obiovar.h revision 202175
1254885Sdumbbell/* $NetBSD: obiovar.h,v 1.4 2003/06/16 17:40:53 thorpej Exp $ */ 2254885Sdumbbell 3254885Sdumbbell/*- 4254885Sdumbbell * Copyright (c) 2002, 2003 Wasabi Systems, Inc. 5254885Sdumbbell * All rights reserved. 6254885Sdumbbell * 7254885Sdumbbell * Written by Jason R. Thorpe for Wasabi Systems, Inc. 8254885Sdumbbell * 9254885Sdumbbell * Redistribution and use in source and binary forms, with or without 10254885Sdumbbell * modification, are permitted provided that the following conditions 11254885Sdumbbell * are met: 12254885Sdumbbell * 1. Redistributions of source code must retain the above copyright 13254885Sdumbbell * notice, this list of conditions and the following disclaimer. 14254885Sdumbbell * 2. Redistributions in binary form must reproduce the above copyright 15254885Sdumbbell * notice, this list of conditions and the following disclaimer in the 16254885Sdumbbell * documentation and/or other materials provided with the distribution. 17254885Sdumbbell * 3. All advertising materials mentioning features or use of this software 18254885Sdumbbell * must display the following acknowledgement: 19254885Sdumbbell * This product includes software developed for the NetBSD Project by 20254885Sdumbbell * Wasabi Systems, Inc. 21254885Sdumbbell * 4. The name of Wasabi Systems, Inc. may not be used to endorse 22254885Sdumbbell * or promote products derived from this software without specific prior 23254885Sdumbbell * written permission. 24254885Sdumbbell * 25254885Sdumbbell * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND 26254885Sdumbbell * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 27254885Sdumbbell * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 28254885Sdumbbell * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 29254885Sdumbbell * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 30254885Sdumbbell * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 31254885Sdumbbell * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32254885Sdumbbell * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33254885Sdumbbell * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34254885Sdumbbell * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35254885Sdumbbell * POSSIBILITY OF SUCH DAMAGE. 36254885Sdumbbell * 37254885Sdumbbell * $FreeBSD: head/sys/mips/sentry5/obiovar.h 202175 2010-01-12 21:36:08Z imp $ 38254885Sdumbbell * 39254885Sdumbbell */ 40254885Sdumbbell 41254885Sdumbbell#ifndef _SENTRY5_OBIOVAR_H_ 42254885Sdumbbell#define _SENTRY5_OBIOVAR_H_ 43254885Sdumbbell 44254885Sdumbbell#include <sys/rman.h> 45254885Sdumbbell 46254885Sdumbbellstruct obio_softc { 47254885Sdumbbell bus_space_tag_t oba_st; /* bus space tag */ 48254885Sdumbbell bus_addr_t oba_addr; /* address of device */ 49254885Sdumbbell bus_size_t oba_size; /* size of device */ 50254885Sdumbbell int oba_width; /* bus width */ 51254885Sdumbbell int oba_irq; /* XINT interrupt bit # */ 52254885Sdumbbell struct rman oba_rman; 53254885Sdumbbell struct rman oba_irq_rman; 54254885Sdumbbell 55254885Sdumbbell}; 56254885Sdumbbellextern struct bus_space obio_bs_tag; 57254885Sdumbbell 58254885Sdumbbell#endif /* _SENTRY5_OBIOVAR_H_ */ 59254885Sdumbbell