1*ce099b40Smartin /* $NetBSD: isapnp_machdep.h,v 1.6 2008/04/28 20:23:15 martin Exp $ */ 20af0341fScgd 30af0341fScgd /*- 40af0341fScgd * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. 50af0341fScgd * All rights reserved. 60af0341fScgd * 70af0341fScgd * This code is derived from software contributed to The NetBSD Foundation 80af0341fScgd * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 90af0341fScgd * NASA Ames Research Center and by Christos Zoulas. 100af0341fScgd * 110af0341fScgd * Redistribution and use in source and binary forms, with or without 120af0341fScgd * modification, are permitted provided that the following conditions 130af0341fScgd * are met: 140af0341fScgd * 1. Redistributions of source code must retain the above copyright 150af0341fScgd * notice, this list of conditions and the following disclaimer. 160af0341fScgd * 2. Redistributions in binary form must reproduce the above copyright 170af0341fScgd * notice, this list of conditions and the following disclaimer in the 180af0341fScgd * documentation and/or other materials provided with the distribution. 190af0341fScgd * 200af0341fScgd * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 210af0341fScgd * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 220af0341fScgd * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 230af0341fScgd * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 240af0341fScgd * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 250af0341fScgd * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 260af0341fScgd * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 270af0341fScgd * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 280af0341fScgd * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 290af0341fScgd * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 300af0341fScgd * POSSIBILITY OF SUCH DAMAGE. 310af0341fScgd */ 320af0341fScgd 330af0341fScgd /* 340af0341fScgd * Functions provided to machine-independent ISA PnP code. 350af0341fScgd */ 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