ixpsipvar.h revision 1.3
11.3Sdyoung/*	$NetBSD: ixpsipvar.h,v 1.3 2011/07/01 20:27:50 dyoung 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 *
161.1Sichiro * THIS SOFTWARE IS PROVIDED BY ICHIRO FUKUHARA ``AS IS'' AND ANY EXPRESS OR
171.1Sichiro * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
181.1Sichiro * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
191.1Sichiro * IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS HEAD BE LIABLE FOR
201.1Sichiro * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
211.1Sichiro * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
221.1Sichiro * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
231.1Sichiro * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
241.1Sichiro * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
251.1Sichiro * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
261.1Sichiro * SUCH DAMAGE.
271.1Sichiro */
281.1Sichiro
291.1Sichiro#ifndef _IXPSIPVAR_H_
301.1Sichiro#define _IXPSIPVAR_H_
311.1Sichiro
321.1Sichiro#include <sys/conf.h>
331.1Sichiro#include <sys/device.h>
341.1Sichiro#include <sys/queue.h>
351.1Sichiro
361.3Sdyoung#include <sys/bus.h>
371.1Sichiro
381.1Sichirostruct ixpsip_softc {
391.1Sichiro	struct device sc_dev;
401.1Sichiro	bus_space_tag_t sc_iot;
411.1Sichiro	bus_space_handle_t sc_ioh;
421.1Sichiro};
431.1Sichiro
441.1Sichirostruct ixpsip_attach_args {
451.1Sichiro	bus_space_tag_t		sa_iot;		/* Bus tag */
461.1Sichiro	bus_addr_t		sa_addr;	/* i/o address  */
471.1Sichiro	bus_size_t		sa_size;
481.1Sichiro	int			sa_intr;
491.1Sichiro};
501.1Sichiro
511.1Sichiro#endif /* _IXPSIPVAR_H_ */
52