1194140Simp/* $NetBSD: obiovar.h,v 1.4 2003/06/16 17:40:53 thorpej Exp $ */ 2194140Simp 3194140Simp/*- 4194140Simp * Copyright (c) 2002, 2003 Wasabi Systems, Inc. 5194140Simp * All rights reserved. 6194140Simp * 7194140Simp * Written by Jason R. Thorpe for Wasabi Systems, Inc. 8194140Simp * 9194140Simp * Redistribution and use in source and binary forms, with or without 10194140Simp * modification, are permitted provided that the following conditions 11194140Simp * are met: 12194140Simp * 1. Redistributions of source code must retain the above copyright 13194140Simp * notice, this list of conditions and the following disclaimer. 14194140Simp * 2. Redistributions in binary form must reproduce the above copyright 15194140Simp * notice, this list of conditions and the following disclaimer in the 16194140Simp * documentation and/or other materials provided with the distribution. 17194140Simp * 3. All advertising materials mentioning features or use of this software 18194140Simp * must display the following acknowledgement: 19194140Simp * This product includes software developed for the NetBSD Project by 20194140Simp * Wasabi Systems, Inc. 21194140Simp * 4. The name of Wasabi Systems, Inc. may not be used to endorse 22194140Simp * or promote products derived from this software without specific prior 23194140Simp * written permission. 24194140Simp * 25194140Simp * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND 26194140Simp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 27194140Simp * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 28194140Simp * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 29194140Simp * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 30194140Simp * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 31194140Simp * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32194140Simp * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33194140Simp * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34194140Simp * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35194140Simp * POSSIBILITY OF SUCH DAMAGE. 36194140Simp * 37194140Simp * $FreeBSD$ 38194140Simp * 39194140Simp */ 40194140Simp 41194140Simp#ifndef _OCTEON_OBIOVAR_H_ 42194140Simp#define _OCTEON_OBIOVAR_H_ 43194140Simp 44194140Simp#include <sys/rman.h> 45194140Simp 46194140Simpstruct obio_softc { 47194140Simp bus_space_tag_t oba_st; /* bus space tag */ 48194140Simp bus_addr_t oba_addr; /* address of device */ 49194140Simp bus_size_t oba_size; /* size of device */ 50194140Simp struct rman oba_rman; 51194140Simp struct rman oba_irq_rman; 52194140Simp 53194140Simp}; 54194140Simp 55194140Simp#endif /* _OCTEON_OBIOVAR_H_ */ 56