1*14bfe5d1Sjmcneill /* $NetBSD: autoconf.h,v 1.9 2018/08/27 09:52:16 jmcneill Exp $ */ 2acf9a688Sthorpej 31bf6aa62Smatt /*- 41bf6aa62Smatt * Copyright (c) 2001 The NetBSD Foundation, Inc. 51bf6aa62Smatt * All rights reserved. 61bf6aa62Smatt * 71bf6aa62Smatt * This code is derived from software contributed to The NetBSD Foundation 81bf6aa62Smatt * by Matt Thomas <matt@3am-software.com> 91bf6aa62Smatt * 101bf6aa62Smatt * Redistribution and use in source and binary forms, with or without 111bf6aa62Smatt * modification, are permitted provided that the following conditions 121bf6aa62Smatt * are met: 131bf6aa62Smatt * 1. Redistributions of source code must retain the above copyright 141bf6aa62Smatt * notice, this list of conditions and the following disclaimer. 151bf6aa62Smatt * 2. Redistributions in binary form must reproduce the above copyright 161bf6aa62Smatt * notice, this list of conditions and the following disclaimer in the 171bf6aa62Smatt * documentation and/or other materials provided with the distribution. 181bf6aa62Smatt * 191bf6aa62Smatt * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 201bf6aa62Smatt * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 211bf6aa62Smatt * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 221bf6aa62Smatt * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 231bf6aa62Smatt * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 241bf6aa62Smatt * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 251bf6aa62Smatt * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 261bf6aa62Smatt * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 271bf6aa62Smatt * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 281bf6aa62Smatt * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 291bf6aa62Smatt * POSSIBILITY OF SUCH DAMAGE. 301bf6aa62Smatt */ 311bf6aa62Smatt 321bf6aa62Smatt #ifndef _EVBARM_AUTOCONF_H_ 331bf6aa62Smatt #define _EVBARM_AUTOCONF_H_ 341bf6aa62Smatt 352ef5da91Smatt #ifndef _ARM_MAINBUS_MAINBUS_H_ 361bf6aa62Smatt struct mainbus_attach_args { 371bf6aa62Smatt const char *ma_name; 381bf6aa62Smatt }; 392ef5da91Smatt #endif 401bf6aa62Smatt 41cbab9cadSchs extern void (*evbarm_device_register)(device_t, void *); 420fbcec91Sreinoud extern void (*evbarm_device_register_post_config)(device_t, void *); 43*14bfe5d1Sjmcneill extern void (*evbarm_cpu_rootconf)(void); 445432dacfSthorpej 451bf6aa62Smatt #endif /* _EVBARM_AUTOCONF_H_ */ 46