ixpsipvar.h revision 1.1
11.1Sichiro/* $NetBSD: ixpsipvar.h,v 1.1 2002/07/15 16:27:17 ichiro Exp $ */ 21.1Sichiro/* 31.1Sichiro * Copyright (c) 2002 41.1Sichiro * Ichiro FUKUHARA <ichiro@ichiro.org>. 51.1Sichiro * All rights reserved. 61.1Sichiro * 71.1Sichiro * Redistribution and use in source and binary forms, with or without 81.1Sichiro * modification, are permitted provided that the following conditions 91.1Sichiro * are met: 101.1Sichiro * 1. Redistributions of source code must retain the above copyright 111.1Sichiro * notice, this list of conditions and the following disclaimer. 121.1Sichiro * 2. Redistributions in binary form must reproduce the above copyright 131.1Sichiro * notice, this list of conditions and the following disclaimer in the 141.1Sichiro * documentation and/or other materials provided with the distribution. 151.1Sichiro * 3. All advertising materials mentioning features or use of this software 161.1Sichiro * must display the following acknowledgement: 171.1Sichiro * This product includes software developed by Ichiro FUKUHARA. 181.1Sichiro * 4. The name of the company nor the name of the author may be used to 191.1Sichiro * endorse or promote products derived from this software without specific 201.1Sichiro * prior written permission. 211.1Sichiro * 221.1Sichiro * THIS SOFTWARE IS PROVIDED BY ICHIRO FUKUHARA ``AS IS'' AND ANY EXPRESS OR 231.1Sichiro * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 241.1Sichiro * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 251.1Sichiro * IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS HEAD BE LIABLE FOR 261.1Sichiro * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 271.1Sichiro * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 281.1Sichiro * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 291.1Sichiro * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 301.1Sichiro * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 311.1Sichiro * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 321.1Sichiro * SUCH DAMAGE. 331.1Sichiro */ 341.1Sichiro 351.1Sichiro#ifndef _IXPSIPVAR_H_ 361.1Sichiro#define _IXPSIPVAR_H_ 371.1Sichiro 381.1Sichiro#include <sys/conf.h> 391.1Sichiro#include <sys/device.h> 401.1Sichiro#include <sys/queue.h> 411.1Sichiro 421.1Sichiro#include <machine/bus.h> 431.1Sichiro 441.1Sichirostruct ixpsip_softc { 451.1Sichiro struct device sc_dev; 461.1Sichiro bus_space_tag_t sc_iot; 471.1Sichiro bus_space_handle_t sc_ioh; 481.1Sichiro}; 491.1Sichiro 501.1Sichirostruct ixpsip_attach_args { 511.1Sichiro bus_space_tag_t sa_iot; /* Bus tag */ 521.1Sichiro bus_addr_t sa_addr; /* i/o address */ 531.1Sichiro bus_size_t sa_size; 541.1Sichiro int sa_intr; 551.1Sichiro}; 561.1Sichiro 571.1Sichiro#endif /* _IXPSIPVAR_H_ */ 58