1*5f819ca3Schs /* $NetBSD: ixpsipvar.h,v 1.4 2012/10/27 17:17:39 chs Exp $ */ 27374c0afSichiro /* 37374c0afSichiro * Copyright (c) 2002 47374c0afSichiro * Ichiro FUKUHARA <ichiro@ichiro.org>. 57374c0afSichiro * All rights reserved. 67374c0afSichiro * 77374c0afSichiro * Redistribution and use in source and binary forms, with or without 87374c0afSichiro * modification, are permitted provided that the following conditions 97374c0afSichiro * are met: 107374c0afSichiro * 1. Redistributions of source code must retain the above copyright 117374c0afSichiro * notice, this list of conditions and the following disclaimer. 127374c0afSichiro * 2. Redistributions in binary form must reproduce the above copyright 137374c0afSichiro * notice, this list of conditions and the following disclaimer in the 147374c0afSichiro * documentation and/or other materials provided with the distribution. 157374c0afSichiro * 167374c0afSichiro * THIS SOFTWARE IS PROVIDED BY ICHIRO FUKUHARA ``AS IS'' AND ANY EXPRESS OR 177374c0afSichiro * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 187374c0afSichiro * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 197374c0afSichiro * IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS HEAD BE LIABLE FOR 207374c0afSichiro * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 217374c0afSichiro * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 227374c0afSichiro * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 237374c0afSichiro * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 247374c0afSichiro * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 257374c0afSichiro * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 267374c0afSichiro * SUCH DAMAGE. 277374c0afSichiro */ 287374c0afSichiro 297374c0afSichiro #ifndef _IXPSIPVAR_H_ 307374c0afSichiro #define _IXPSIPVAR_H_ 317374c0afSichiro 327374c0afSichiro #include <sys/conf.h> 337374c0afSichiro #include <sys/device.h> 347374c0afSichiro #include <sys/queue.h> 357374c0afSichiro 36af51edd2Sdyoung #include <sys/bus.h> 377374c0afSichiro 387374c0afSichiro struct ixpsip_softc { 397374c0afSichiro bus_space_tag_t sc_iot; 407374c0afSichiro bus_space_handle_t sc_ioh; 417374c0afSichiro }; 427374c0afSichiro 437374c0afSichiro struct ixpsip_attach_args { 447374c0afSichiro bus_space_tag_t sa_iot; /* Bus tag */ 457374c0afSichiro bus_addr_t sa_addr; /* i/o address */ 467374c0afSichiro bus_size_t sa_size; 477374c0afSichiro int sa_intr; 487374c0afSichiro }; 497374c0afSichiro 507374c0afSichiro #endif /* _IXPSIPVAR_H_ */ 51