aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2013-11-05 13:48:34 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2013-11-05 13:48:34 +0000
commit5cd2b97cd05fd7e64e6ba1db0c150accddf4ddd3 (patch)
treeaea45e5f4cb06933bb48db2b452a0c14ebc5e400 /sys/dev/fdt
parent5494cb5f120b658dbb4a9488ca372545bf89bbb1 (diff)
downloadsrc-5cd2b97cd05fd7e64e6ba1db0c150accddf4ddd3.tar.gz
src-5cd2b97cd05fd7e64e6ba1db0c150accddf4ddd3.zip
Teach nexus(4) about Open Firmware (e.g. FDT) on ARM and MIPS, retiring
fdtbus in most cases. This brings ARM and MIPS more in line with existing Open Firmware platforms like sparc64 and powerpc, as well as preventing double-enumeration of the OF tree on embedded PowerPC (first through nexus, then through fdtbus). This change is also designed to simplify resource management on FDT platforms by letting there exist a platform-defined root bus resource_activate() call instead of replying on fdtbus to do the right thing through fdt_bs_tag. The OFW_BUS_MAP_INTR() and OFW_BUS_CONFIG_INTR() kobj methods are also available to implement for similar purposes. Discussed on: -arm, -mips Tested by: zbb, brooks, imp, and others MFC after: 6 weeks
Notes
Notes: svn path=/head/; revision=257702
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/simplebus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fdt/simplebus.c b/sys/dev/fdt/simplebus.c
index c63cd860e6a0..92439cda3c08 100644
--- a/sys/dev/fdt/simplebus.c
+++ b/sys/dev/fdt/simplebus.c
@@ -138,7 +138,7 @@ static driver_t simplebus_driver = {
devclass_t simplebus_devclass;
-DRIVER_MODULE(simplebus, fdtbus, simplebus_driver, simplebus_devclass, 0, 0);
+DRIVER_MODULE(simplebus, nexus, simplebus_driver, simplebus_devclass, 0, 0);
DRIVER_MODULE(simplebus, simplebus, simplebus_driver, simplebus_devclass, 0,
0);