1*4a40b014Smatt /* $NetBSD: autoconf.h,v 1.4 2011/06/30 00:52:56 matt Exp $ */ 2550ffff4Smatt 3d974db0aSgarbled /*- 4d974db0aSgarbled * Copyright (C) 1998 Internet Research Institute, Inc. 5d974db0aSgarbled * All rights reserved. 6d974db0aSgarbled * 7d974db0aSgarbled * Redistribution and use in source and binary forms, with or without 8d974db0aSgarbled * modification, are permitted provided that the following conditions 9d974db0aSgarbled * are met: 10d974db0aSgarbled * 1. Redistributions of source code must retain the above copyright 11d974db0aSgarbled * notice, this list of conditions and the following disclaimer. 12d974db0aSgarbled * 2. Redistributions in binary form must reproduce the above copyright 13d974db0aSgarbled * notice, this list of conditions and the following disclaimer in the 14d974db0aSgarbled * documentation and/or other materials provided with the distribution. 15d974db0aSgarbled * 3. All advertising materials mentioning features or use of this software 16d974db0aSgarbled * must display the following acknowledgement: 17d974db0aSgarbled * This product includes software developed by 18d974db0aSgarbled * Internet Research Institute, Inc. 19d974db0aSgarbled * 4. The name of the author may not be used to endorse or promote products 20d974db0aSgarbled * derived from this software without specific prior written permission. 21d974db0aSgarbled * 22d974db0aSgarbled * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 23d974db0aSgarbled * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 24d974db0aSgarbled * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 25d974db0aSgarbled * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 26d974db0aSgarbled * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 27d974db0aSgarbled * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28d974db0aSgarbled * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29d974db0aSgarbled * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30d974db0aSgarbled * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31d974db0aSgarbled * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32d974db0aSgarbled */ 33550ffff4Smatt 34550ffff4Smatt 35d974db0aSgarbled struct confargs { 36d974db0aSgarbled const char *ca_name; 37d974db0aSgarbled u_int ca_node; 38d974db0aSgarbled int ca_nreg; 39d974db0aSgarbled u_int *ca_reg; 40d974db0aSgarbled int ca_nintr; 41d974db0aSgarbled int *ca_intr; 42550ffff4Smatt 43d974db0aSgarbled u_int ca_baseaddr; 44d974db0aSgarbled /* bus_space_tag_t ca_tag; */ 45d974db0aSgarbled }; 46d974db0aSgarbled 47d974db0aSgarbled extern paddr_t kvtop(void *); 48