diff --git a/rtemsbsd/include/machine/rtems-bsd-sysinit.h b/rtemsbsd/include/machine/rtems-bsd-sysinit.h index 6242d790..6721d41c 100644 --- a/rtemsbsd/include/machine/rtems-bsd-sysinit.h +++ b/rtemsbsd/include/machine/rtems-bsd-sysinit.h @@ -27,14 +27,6 @@ #include #include -#define SYSINIT_NEED_FREEBSD_CORE \ - SYSINIT_REFERENCE(configure1); \ - SYSINIT_REFERENCE(module); \ - SYSINIT_REFERENCE(kobj); \ - SYSINIT_REFERENCE(linker_kernel); \ - SYSINIT_MODULE_REFERENCE(rootbus); \ - SYSINIT_DRIVER_REFERENCE(nexus, root) - #define SYSINIT_NEED_USB_CORE \ SYSINIT_REFERENCE(usb_quirk_init); \ SYSINIT_DRIVER_REFERENCE(uhub, usbus) diff --git a/rtemsbsd/rtems/rtems-bsd-init.c b/rtemsbsd/rtems/rtems-bsd-init.c index 22cb1440..9e9fb1ff 100644 --- a/rtemsbsd/rtems/rtems-bsd-init.c +++ b/rtemsbsd/rtems/rtems-bsd-init.c @@ -49,6 +49,13 @@ #include +SYSINIT_REFERENCE(configure1); +SYSINIT_REFERENCE(module); +SYSINIT_REFERENCE(kobj); +SYSINIT_REFERENCE(linker_kernel); +SYSINIT_MODULE_REFERENCE(rootbus); +SYSINIT_DRIVER_REFERENCE(nexus, root); + /* In FreeBSD this is a local function */ void mi_startup(void); diff --git a/testsuite/include/rtems/bsd/test/nic-sysinit.h b/testsuite/include/rtems/bsd/test/nic-sysinit.h index 752fe601..1fec896b 100644 --- a/testsuite/include/rtems/bsd/test/nic-sysinit.h +++ b/testsuite/include/rtems/bsd/test/nic-sysinit.h @@ -39,9 +39,6 @@ * We "read" that and generate references and nexus devices */ -#if defined(CONFIGURE_NEED_NET) - SYSINIT_NEED_FREEBSD_CORE; -#endif #if defined(CONFIGURE_NEED_USB) SYSINIT_NEED_USB_CORE; #endif diff --git a/testsuite/usb01/usb-sysinit.h b/testsuite/usb01/usb-sysinit.h index 0ee09dd1..e42fec67 100644 --- a/testsuite/usb01/usb-sysinit.h +++ b/testsuite/usb01/usb-sysinit.h @@ -36,7 +36,6 @@ #define NEED_SDHC #endif -SYSINIT_NEED_FREEBSD_CORE; SYSINIT_NEED_USB_CORE; #ifdef NEED_USB_OHCI SYSINIT_NEED_USB_OHCI;