xref: /netbsd-src/sys/arch/amiga/dev/supio.h (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: supio.h,v 1.8 2008/04/28 20:23:12 martin Exp $ */
2f7c9a70aSis 
3dc068e0dSis /*-
42c7fa23cSis  * Copyright (c) 1997 The NetBSD Foundation, Inc.
5f7c9a70aSis  * All rights reserved.
6f7c9a70aSis  *
7dc068e0dSis  * This code is derived from software contributed to The NetBSD Foundation
8dc068e0dSis  * by Ignatios Souvatzis.
9dc068e0dSis  *
10f7c9a70aSis  * Redistribution and use in source and binary forms, with or without
11f7c9a70aSis  * modification, are permitted provided that the following conditions
12f7c9a70aSis  * are met:
13f7c9a70aSis  * 1. Redistributions of source code must retain the above copyright
14f7c9a70aSis  *    notice, this list of conditions and the following disclaimer.
15f7c9a70aSis  * 2. Redistributions in binary form must reproduce the above copyright
16f7c9a70aSis  *    notice, this list of conditions and the following disclaimer in the
17f7c9a70aSis  *    documentation and/or other materials provided with the distribution.
18f7c9a70aSis  *
19dc068e0dSis  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20dc068e0dSis  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21dc068e0dSis  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22dc068e0dSis  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23dc068e0dSis  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24dc068e0dSis  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25dc068e0dSis  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26dc068e0dSis  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27dc068e0dSis  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28dc068e0dSis  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29dc068e0dSis  * POSSIBILITY OF SUCH DAMAGE.
30f7c9a70aSis  */
31f7c9a70aSis 
32f7c9a70aSis /*
336e806b81Sis  * PC-style multi-io chip bus space stuff definitions
34f7c9a70aSis  */
35f7c9a70aSis 
36f7c9a70aSis struct supio_attach_args {
37f7c9a70aSis 	bus_space_tag_t	 supio_iot;
38803a5ae1Sjmc 	const char	*supio_name;
39f7c9a70aSis 	int		 supio_iobase;
40718fb97eSis 	int		 supio_ipl;
41718fb97eSis 	int		 supio_arg;
42f7c9a70aSis };
43