xref: /openbsd-src/sys/arch/landisk/include/autoconf.h (revision d874cce4b1d9fe6b41c9e4f2117a77d8a4a37b92)
1*d874cce4Sray /*	$OpenBSD: autoconf.h,v 1.2 2008/06/26 05:42:11 ray Exp $	*/
20d032535Smiod /*	$NetBSD: autoconf.h,v 1.1 2006/09/01 21:26:18 uwe Exp $	*/
30d032535Smiod 
40d032535Smiod /*-
50d032535Smiod  * Copyright (c) 2002 The NetBSD Foundation, Inc.
60d032535Smiod  * All rights reserved.
70d032535Smiod  *
80d032535Smiod  * Redistribution and use in source and binary forms, with or without
90d032535Smiod  * modification, are permitted provided that the following conditions
100d032535Smiod  * are met:
110d032535Smiod  * 1. Redistributions of source code must retain the above copyright
120d032535Smiod  *    notice, this list of conditions and the following disclaimer.
130d032535Smiod  * 2. Redistributions in binary form must reproduce the above copyright
140d032535Smiod  *    notice, this list of conditions and the following disclaimer in the
150d032535Smiod  *    documentation and/or other materials provided with the distribution.
160d032535Smiod  *
170d032535Smiod  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
180d032535Smiod  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
190d032535Smiod  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
200d032535Smiod  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
210d032535Smiod  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
220d032535Smiod  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
230d032535Smiod  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
240d032535Smiod  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
250d032535Smiod  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
260d032535Smiod  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
270d032535Smiod  * POSSIBILITY OF SUCH DAMAGE.
280d032535Smiod  */
290d032535Smiod 
300d032535Smiod struct mainbus_attach_args {
310d032535Smiod 	const char	*ma_name;
320d032535Smiod };
330d032535Smiod 
340d032535Smiod struct confargs {
350d032535Smiod 	const char	*ca_name;
360d032535Smiod 	u_int		ca_node;
370d032535Smiod 
380d032535Smiod 	int		ca_nreg;
390d032535Smiod 	u_int		*ca_reg;
400d032535Smiod 
410d032535Smiod 	int		ca_nintr;
420d032535Smiod 	int		*ca_intr;
430d032535Smiod 
440d032535Smiod 	u_long		ca_baseaddr;
450d032535Smiod };
46