summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac/uninorthpci.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2014-02-05 14:44:22 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2014-02-05 14:44:22 +0000
commitc9c7c29042edbacac0655e50d2cb5bce2dfcf868 (patch)
treea1c26991ebc26c8653ff139a31f4170c40ded476 /sys/powerpc/powermac/uninorthpci.c
parent1df1f0b35425dc8e9fad0cd70aa71dcd532433d4 (diff)
downloadFreeBSD-src-c9c7c29042edbacac0655e50d2cb5bce2dfcf868.zip
FreeBSD-src-c9c7c29042edbacac0655e50d2cb5bce2dfcf868.tar.gz
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
Diffstat (limited to 'sys/powerpc/powermac/uninorthpci.c')
-rw-r--r--sys/powerpc/powermac/uninorthpci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/powermac/uninorthpci.c b/sys/powerpc/powermac/uninorthpci.c
index 5cf7a79..9da06ff 100644
--- a/sys/powerpc/powermac/uninorthpci.c
+++ b/sys/powerpc/powermac/uninorthpci.c
@@ -98,7 +98,7 @@ static devclass_t uninorth_devclass;
DEFINE_CLASS_1(pcib, uninorth_driver, uninorth_methods,
sizeof(struct uninorth_softc), ofw_pci_driver);
-DRIVER_MODULE(uninorth, nexus, uninorth_driver, uninorth_devclass, 0, 0);
+DRIVER_MODULE(uninorth, ofwbus, uninorth_driver, uninorth_devclass, 0, 0);
static int
uninorth_probe(device_t dev)
OpenPOWER on IntegriCloud