diff options
author | marcel <marcel@FreeBSD.org> | 2005-05-29 23:44:22 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2005-05-29 23:44:22 +0000 |
commit | bb14b518f7ca82372ae131071e642c56805f78c4 (patch) | |
tree | c56428a42c205168e483559ee15b7dedaeeef31d /sys/i386 | |
parent | bdc0663fe016210c08ae3412968ec0f0ce9321b3 (diff) | |
download | FreeBSD-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/i386')
-rw-r--r-- | sys/i386/i386/autoconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index 23c9644..029ed2e 100644 --- a/sys/i386/i386/autoconf.c +++ b/sys/i386/i386/autoconf.c @@ -91,6 +91,9 @@ static void configure_first(dummy) void *dummy; { + + /* nexus0 is the top of the i386 device tree */ + device_add_child(root_bus, "nexus", 0); } static void @@ -105,9 +108,6 @@ configure(dummy) */ enable_intr(); - /* nexus0 is the top of the i386 device tree */ - device_add_child(root_bus, "nexus", 0); - /* initialize new bus architecture */ root_bus_configure(); |