summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-05-29 23:44:22 +0000
committermarcel <marcel@FreeBSD.org>2005-05-29 23:44:22 +0000
commitbb14b518f7ca82372ae131071e642c56805f78c4 (patch)
treec56428a42c205168e483559ee15b7dedaeeef31d /sys/arm
parentbdc0663fe016210c08ae3412968ec0f0ce9321b3 (diff)
downloadFreeBSD-src-bb14b518f7ca82372ae131071e642c56805f78c4.zip
FreeBSD-src-bb14b518f7ca82372ae131071e642c56805f78c4.tar.gz
Create nexus in configure_first() instead of in configure(). This
makes sure that sysinit tasks that run after configure_first(), but before configure() have a nexus to hang devices off.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/autoconf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm/arm/autoconf.c b/sys/arm/arm/autoconf.c
index bb89d58..4176398 100644
--- a/sys/arm/arm/autoconf.c
+++ b/sys/arm/arm/autoconf.c
@@ -79,13 +79,14 @@ device_t nexus_dev;
static void
configure_first(void *dummy)
{
+
+ device_add_child(root_bus, "nexus", 0);
}
static void
configure(void *dummy)
{
- device_add_child(root_bus, "nexus", 0);
-
+
root_bus_configure();
}
OpenPOWER on IntegriCloud