1178173Simp/* $NetBSD: obiovar.h,v 1.4 2003/06/16 17:40:53 thorpej Exp $ */ 2178173Simp 3178173Simp/*- 4178173Simp * Copyright (c) 2002, 2003 Wasabi Systems, Inc. 5178173Simp * All rights reserved. 6178173Simp * 7178173Simp * Written by Jason R. Thorpe for Wasabi Systems, Inc. 8178173Simp * 9178173Simp * Redistribution and use in source and binary forms, with or without 10178173Simp * modification, are permitted provided that the following conditions 11178173Simp * are met: 12178173Simp * 1. Redistributions of source code must retain the above copyright 13178173Simp * notice, this list of conditions and the following disclaimer. 14178173Simp * 2. Redistributions in binary form must reproduce the above copyright 15178173Simp * notice, this list of conditions and the following disclaimer in the 16178173Simp * documentation and/or other materials provided with the distribution. 17178173Simp * 3. All advertising materials mentioning features or use of this software 18178173Simp * must display the following acknowledgement: 19178173Simp * This product includes software developed for the NetBSD Project by 20178173Simp * Wasabi Systems, Inc. 21178173Simp * 4. The name of Wasabi Systems, Inc. may not be used to endorse 22178173Simp * or promote products derived from this software without specific prior 23178173Simp * written permission. 24178173Simp * 25178173Simp * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND 26178173Simp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 27178173Simp * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 28178173Simp * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 29178173Simp * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 30178173Simp * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 31178173Simp * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32178173Simp * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33178173Simp * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34178173Simp * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35178173Simp * POSSIBILITY OF SUCH DAMAGE. 36178173Simp * 37178173Simp * $FreeBSD: releng/11.0/sys/mips/malta/obiovar.h 202175 2010-01-12 21:36:08Z imp $ 38178173Simp * 39178173Simp */ 40178173Simp 41178173Simp#ifndef _MALTA_OBIOVAR_H_ 42178173Simp#define _MALTA_OBIOVAR_H_ 43178173Simp 44178173Simp#include <sys/rman.h> 45178173Simp 46178173Simpstruct obio_softc { 47178173Simp bus_space_tag_t oba_st; /* bus space tag */ 48178173Simp bus_addr_t oba_addr; /* address of device */ 49178173Simp bus_size_t oba_size; /* size of device */ 50178173Simp int oba_width; /* bus width */ 51178173Simp int oba_irq; /* XINT interrupt bit # */ 52178173Simp struct rman oba_rman; 53178173Simp struct rman oba_irq_rman; 54178173Simp 55178173Simp}; 56178173Simpextern struct bus_space obio_bs_tag; 57178173Simp 58178173Simp#endif /* _MALTA_OBIOVAR_H_ */ 59