xref: /netbsd-src/sys/arch/prep/include/isapnp_machdep.h (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: isapnp_machdep.h,v 1.3 2008/04/28 20:23:33 martin Exp $	*/
237eb9eebSnonaka 
337eb9eebSnonaka /*-
437eb9eebSnonaka  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
537eb9eebSnonaka  * All rights reserved.
637eb9eebSnonaka  *
737eb9eebSnonaka  * This code is derived from software contributed to The NetBSD Foundation
837eb9eebSnonaka  * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
937eb9eebSnonaka  * NASA Ames Research Center and by Christos Zoulas.
1037eb9eebSnonaka  *
1137eb9eebSnonaka  * Redistribution and use in source and binary forms, with or without
1237eb9eebSnonaka  * modification, are permitted provided that the following conditions
1337eb9eebSnonaka  * are met:
1437eb9eebSnonaka  * 1. Redistributions of source code must retain the above copyright
1537eb9eebSnonaka  *    notice, this list of conditions and the following disclaimer.
1637eb9eebSnonaka  * 2. Redistributions in binary form must reproduce the above copyright
1737eb9eebSnonaka  *    notice, this list of conditions and the following disclaimer in the
1837eb9eebSnonaka  *    documentation and/or other materials provided with the distribution.
1937eb9eebSnonaka  *
2037eb9eebSnonaka  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
2137eb9eebSnonaka  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
2237eb9eebSnonaka  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2337eb9eebSnonaka  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2437eb9eebSnonaka  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2537eb9eebSnonaka  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2637eb9eebSnonaka  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2737eb9eebSnonaka  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2837eb9eebSnonaka  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2937eb9eebSnonaka  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3037eb9eebSnonaka  * POSSIBILITY OF SUCH DAMAGE.
3137eb9eebSnonaka  */
3237eb9eebSnonaka 
3337eb9eebSnonaka /*
3437eb9eebSnonaka  * Functions provided to machine-independent ISA PnP code.
3537eb9eebSnonaka  */
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