aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/psim
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2014-02-05 14:44:22 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2014-02-05 14:44:22 +0000
commit65d08437ef519124f39f113262a3cc71dadb8569 (patch)
treea1c26991ebc26c8653ff139a31f4170c40ded476 /sys/powerpc/psim
parent2fdfccfd7ccce8bb79cd88b8956aa88b39b702e5 (diff)
downloadsrc-65d08437ef519124f39f113262a3cc71dadb8569.tar.gz
src-65d08437ef519124f39f113262a3cc71dadb8569.zip
Move Open Firmware device root on PowerPC, ARM, and MIPS systems to
a sub-node of nexus (ofwbus) rather than direct attach under nexus. This fixes FDT on x86 and will make coexistence with ACPI on ARM systems easier. SPARC is unchanged. Reviewed by: imp, ian
Notes
Notes: svn path=/head/; revision=261513
Diffstat (limited to 'sys/powerpc/psim')
-rw-r--r--sys/powerpc/psim/iobus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/psim/iobus.c b/sys/powerpc/psim/iobus.c
index 6ed8cd3521e7..6a6ac2724374 100644
--- a/sys/powerpc/psim/iobus.c
+++ b/sys/powerpc/psim/iobus.c
@@ -116,7 +116,7 @@ static driver_t iobus_driver = {
devclass_t iobus_devclass;
-DRIVER_MODULE(iobus, nexus, iobus_driver, iobus_devclass, 0, 0);
+DRIVER_MODULE(iobus, ofwbus, iobus_driver, iobus_devclass, 0, 0);
static int
iobus_probe(device_t dev)