[PATCH v2 2/2] rtems/rtems-kernel-nexus.c: LibBSD init now uses all pass levels.
Nils Hölscher
nilhoel1 at gmail.com
Sat Aug 10 08:44:54 UTC 2019
I observed all Modules loading in the last fdt pass.
The reason was, nexus bus loading with BUS_PASS_DEFAULT.
---
rtemsbsd/rtems/rtems-kernel-nexus.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rtemsbsd/rtems/rtems-kernel-nexus.c b/rtemsbsd/rtems/rtems-kernel-nexus.c
index 197f23f6..23b72a55 100644
--- a/rtemsbsd/rtems/rtems-kernel-nexus.c
+++ b/rtemsbsd/rtems/rtems-kernel-nexus.c
@@ -394,4 +394,5 @@ static driver_t nexus_driver = {
static devclass_t nexus_devclass;
-EARLY_DRIVER_MODULE_ORDERED(nexus, root, nexus_driver, nexus_devclass, 0, 0, SI_ORDER_FIRST, BUS_PASS_BUS);
+EARLY_DRIVER_MODULE_ORDERED(nexus, root, nexus_driver, nexus_devclass, 0, 0,
+ SI_ORDER_FIRST, BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
--
2.22.0
More information about the devel
mailing list