1*6bb51422Spooka /* $NetBSD: component_simple.c,v 1.3 2016/01/26 23:12:14 pooka Exp $ */
24ff6638bSpooka
34ff6638bSpooka /*
44ff6638bSpooka * Copyright (c) 2015 Antti Kantee. All Rights Reserved.
54ff6638bSpooka *
64ff6638bSpooka * Redistribution and use in source and binary forms, with or without
74ff6638bSpooka * modification, are permitted provided that the following conditions
84ff6638bSpooka * are met:
94ff6638bSpooka * 1. Redistributions of source code must retain the above copyright
104ff6638bSpooka * notice, this list of conditions and the following disclaimer.
114ff6638bSpooka * 2. Redistributions in binary form must reproduce the above copyright
124ff6638bSpooka * notice, this list of conditions and the following disclaimer in the
134ff6638bSpooka * documentation and/or other materials provided with the distribution.
144ff6638bSpooka *
154ff6638bSpooka * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
164ff6638bSpooka * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
174ff6638bSpooka * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
184ff6638bSpooka * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
194ff6638bSpooka * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
204ff6638bSpooka * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
214ff6638bSpooka * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
224ff6638bSpooka * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
234ff6638bSpooka * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
244ff6638bSpooka * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
254ff6638bSpooka * SUCH DAMAGE.
264ff6638bSpooka */
274ff6638bSpooka
284ff6638bSpooka #include <sys/cdefs.h>
29*6bb51422Spooka __KERNEL_RCSID(0, "$NetBSD: component_simple.c,v 1.3 2016/01/26 23:12:14 pooka Exp $");
304ff6638bSpooka
314ff6638bSpooka #include <sys/param.h>
324ff6638bSpooka #include <sys/conf.h>
334ff6638bSpooka #include <sys/device.h>
344ff6638bSpooka #include <sys/bus.h>
354ff6638bSpooka
36*6bb51422Spooka #include <rump-sys/kern.h>
374ff6638bSpooka
384ff6638bSpooka #include "ioconf.c"
394ff6638bSpooka
404ff6638bSpooka #define CONFIG_INIT_COMPONENT(a) config_init_component( \
414ff6638bSpooka __CONCAT(cfdriver_ioconf_,a), \
424ff6638bSpooka __CONCAT(cfattach_ioconf_,a), \
434ff6638bSpooka __CONCAT(cfdata_ioconf_,a));
444ff6638bSpooka
RUMP_COMPONENT(RUMP_COMPONENT_DEV)454ff6638bSpooka RUMP_COMPONENT(RUMP_COMPONENT_DEV)
464ff6638bSpooka {
474ff6638bSpooka
48eda4460dSpooka CONFIG_INIT_COMPONENT(IOCONF);
494ff6638bSpooka }
50