xref: /netbsd-src/sys/arch/ibmnws/include/isapnp_machdep.h (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: isapnp_machdep.h,v 1.3 2008/04/28 20:23:26 martin Exp $	*/
23dc55c12Smatt 
33dc55c12Smatt /*-
43dc55c12Smatt  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
53dc55c12Smatt  * All rights reserved.
63dc55c12Smatt  *
73dc55c12Smatt  * This code is derived from software contributed to The NetBSD Foundation
83dc55c12Smatt  * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
93dc55c12Smatt  * NASA Ames Research Center and by Christos Zoulas.
103dc55c12Smatt  *
113dc55c12Smatt  * Redistribution and use in source and binary forms, with or without
123dc55c12Smatt  * modification, are permitted provided that the following conditions
133dc55c12Smatt  * are met:
143dc55c12Smatt  * 1. Redistributions of source code must retain the above copyright
153dc55c12Smatt  *    notice, this list of conditions and the following disclaimer.
163dc55c12Smatt  * 2. Redistributions in binary form must reproduce the above copyright
173dc55c12Smatt  *    notice, this list of conditions and the following disclaimer in the
183dc55c12Smatt  *    documentation and/or other materials provided with the distribution.
193dc55c12Smatt  *
203dc55c12Smatt  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
213dc55c12Smatt  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
223dc55c12Smatt  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
233dc55c12Smatt  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
243dc55c12Smatt  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
253dc55c12Smatt  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
263dc55c12Smatt  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
273dc55c12Smatt  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
283dc55c12Smatt  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
293dc55c12Smatt  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
303dc55c12Smatt  * POSSIBILITY OF SUCH DAMAGE.
313dc55c12Smatt  */
323dc55c12Smatt 
333dc55c12Smatt /*
343dc55c12Smatt  * Functions provided to machine-independent ISA PnP code.
353dc55c12Smatt  */
363dc55c12Smatt int	isapnp_map(struct isapnp_softc *);
373dc55c12Smatt void	isapnp_unmap(struct isapnp_softc *);
383dc55c12Smatt int	isapnp_map_readport(struct isapnp_softc *);
393dc55c12Smatt void	isapnp_unmap_readport(struct isapnp_softc *);
40