xref: /netbsd-src/sys/arch/atari/include/isapnp_machdep.h (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: isapnp_machdep.h,v 1.5 2008/04/28 20:23:15 martin Exp $	*/
2096f58d9Scgd 
3096f58d9Scgd /*-
4096f58d9Scgd  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
5096f58d9Scgd  * All rights reserved.
6096f58d9Scgd  *
7096f58d9Scgd  * This code is derived from software contributed to The NetBSD Foundation
8096f58d9Scgd  * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
9096f58d9Scgd  * NASA Ames Research Center and by Christos Zoulas.
10096f58d9Scgd  *
11096f58d9Scgd  * Redistribution and use in source and binary forms, with or without
12096f58d9Scgd  * modification, are permitted provided that the following conditions
13096f58d9Scgd  * are met:
14096f58d9Scgd  * 1. Redistributions of source code must retain the above copyright
15096f58d9Scgd  *    notice, this list of conditions and the following disclaimer.
16096f58d9Scgd  * 2. Redistributions in binary form must reproduce the above copyright
17096f58d9Scgd  *    notice, this list of conditions and the following disclaimer in the
18096f58d9Scgd  *    documentation and/or other materials provided with the distribution.
19096f58d9Scgd  *
20096f58d9Scgd  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
21096f58d9Scgd  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22096f58d9Scgd  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23096f58d9Scgd  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
24096f58d9Scgd  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25096f58d9Scgd  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26096f58d9Scgd  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27096f58d9Scgd  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28096f58d9Scgd  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29096f58d9Scgd  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30096f58d9Scgd  * POSSIBILITY OF SUCH DAMAGE.
31096f58d9Scgd  */
32096f58d9Scgd 
33096f58d9Scgd /*
34096f58d9Scgd  * Functions provided to machine-independent ISA PnP code.
35096f58d9Scgd  */
3647449a63Scgd int	isapnp_map(struct isapnp_softc *);
3747449a63Scgd void	isapnp_unmap(struct isapnp_softc *);
3847449a63Scgd int	isapnp_map_readport(struct isapnp_softc *);
3947449a63Scgd void	isapnp_unmap_readport(struct isapnp_softc *);
40