2 * The device autoconfiguration sysinits inspired by
5 * \author Thomas Friebel <tf13@os.inf.tu-dresden.de>
12 #include <sys/kernel.h>
14 #include <dde_fbsd/cold.h>
16 static void ac_start(void *dummy) {
17 // nexus0 is the top of the i386 device tree
18 device_add_child(root_bus, "nexus", 0);
24 static void ac_done(void *dummy) {
29 SYSINIT(ac_start, SI_SUB_CONFIGURE, SI_ORDER_THIRD, ac_start, NULL);
30 SYSINIT(ac_done, SI_SUB_CONFIGURE, SI_ORDER_ANY, ac_done, NULL);