summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-09 04:29:28 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-09 04:29:28 +0000
commit8545452f142d625be05241f4b82e7c7ae15b8631 (patch)
tree206b4ddaa2dcfd5bff3f276754a004ee22209431 /sys
parent9464ec9a5de9c033ad089039e5e2655e2a633618 (diff)
Fix openfirmware attachment for openfirmware only systems.
if only ofrtc, still need the openfirmware support files.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/conf/DDBOFW2
-rw-r--r--sys/arch/powerpc/conf/files.powerpc3
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/powerpc/conf/DDBOFW b/sys/arch/powerpc/conf/DDBOFW
index aa1184bac28..2fab918908a 100644
--- a/sys/arch/powerpc/conf/DDBOFW
+++ b/sys/arch/powerpc/conf/DDBOFW
@@ -54,7 +54,7 @@ config bsd swap generic
mainbus0 at root
cpu* at mainbus0
-ofroot* at root
+ofroot* at mainbus0
ofbus* at openfirm?
diff --git a/sys/arch/powerpc/conf/files.powerpc b/sys/arch/powerpc/conf/files.powerpc
index 00276b4b694..87a72a67e36 100644
--- a/sys/arch/powerpc/conf/files.powerpc
+++ b/sys/arch/powerpc/conf/files.powerpc
@@ -59,7 +59,7 @@ attach cpu at mainbus
file arch/powerpc/powerpc/cpu.c
include "../../../dev/ofw/files.ofw"
-file arch/powerpc/powerpc/opendev.c ofcons | ofnet | ofdisk
+file arch/powerpc/powerpc/opendev.c ofcons | ofnet | ofdisk | ofrtc
major { ofdisk = 4 }
pseudo-device rd
@@ -86,4 +86,3 @@ major { wd = 5 } # Not even in bdevsw XXX
include "../../../dev/isa/files.isapnp"
file arch/arc/isa/isapnp_machdep.c isapnp
-