1*9aff02ebSdyoung /* $NetBSD: autoconf.h,v 1.6 2011/07/01 21:02:15 dyoung Exp $ */ 2ee733492Ssoren 3ee733492Ssoren /* 4ee733492Ssoren * Copyright (c) 2000 Soren S. Jorvang. All rights reserved. 5ee733492Ssoren * 6ee733492Ssoren * Redistribution and use in source and binary forms, with or without 7ee733492Ssoren * modification, are permitted provided that the following conditions 8ee733492Ssoren * are met: 9ee733492Ssoren * 1. Redistributions of source code must retain the above copyright 10ee733492Ssoren * notice, this list of conditions, and the following disclaimer. 11ee733492Ssoren * 2. Redistributions in binary form must reproduce the above copyright 12ee733492Ssoren * notice, this list of conditions and the following disclaimer in the 13ee733492Ssoren * documentation and/or other materials provided with the distribution. 14ee733492Ssoren * 15ee733492Ssoren * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16ee733492Ssoren * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17ee733492Ssoren * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18ee733492Ssoren * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19ee733492Ssoren * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20ee733492Ssoren * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21ee733492Ssoren * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22ee733492Ssoren * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23ee733492Ssoren * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24ee733492Ssoren * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25ee733492Ssoren * SUCH DAMAGE. 26ee733492Ssoren */ 274c547143Ssoren 28*9aff02ebSdyoung #include <sys/bus.h> 294c547143Ssoren 304c547143Ssoren struct mainbus_attach_args { 314c499c34Smatt const char *ma_name; 324c499c34Smatt bus_addr_t ma_addr; 334c547143Ssoren bus_space_tag_t ma_iot; 344c547143Ssoren int ma_level; 35fc21b008Stsutsui int ma_irq; 364c547143Ssoren }; 37