diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1998-08-22 18:32:01 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1998-08-22 18:32:01 +0000 |
commit | 060a293d1a09ab519d6430a038d1d58180e490b5 (patch) | |
tree | 47fc5f33d48bde6670af2182423ef0d188cc78e7 /sys/arch/powerpc/conf/files.powerpc | |
parent | b14c08b6614b3ddf135f84c2140f08af903e259e (diff) |
Various changes to allow mixing of ofw drivers and real drivers.
NCR driver seems to work.
Major changes are isa can be child of pci or mainbus.
ofroot is child of mainbus not root.
ofw bus configured before pci bus
Note that if a pci device configures accessing of driver will crash
the system. they need to be exclusive.
Diffstat (limited to 'sys/arch/powerpc/conf/files.powerpc')
-rw-r--r-- | sys/arch/powerpc/conf/files.powerpc | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/sys/arch/powerpc/conf/files.powerpc b/sys/arch/powerpc/conf/files.powerpc index 32e9cf193d6..00276b4b694 100644 --- a/sys/arch/powerpc/conf/files.powerpc +++ b/sys/arch/powerpc/conf/files.powerpc @@ -45,6 +45,10 @@ file arch/powerpc/powerpc/db_trace.c ddb file arch/powerpc/powerpc/ofwreal.S +# +# Openfirmware support +# + define mainbus {} device mainbus attach mainbus at root @@ -54,34 +58,32 @@ device cpu attach cpu at mainbus file arch/powerpc/powerpc/cpu.c +include "../../../dev/ofw/files.ofw" +file arch/powerpc/powerpc/opendev.c ofcons | ofnet | ofdisk +major { ofdisk = 4 } + pseudo-device rd file dev/ramdisk.c rd needs-flag file arch/powerpc/powerpc/rd_root.c ramdisk_hooks major {rd = 17} +include "../../../dev/pci/files.pci" + device mpcpcibr {} : pcibus attach mpcpcibr at mainbus file arch/powerpc/pci/mpcpcibus.c mpcpcibr device isabr {} : isabus -attach isabr at mainbus +attach isabr at mainbus, pci file arch/powerpc/isa/isabus.c isabr include "../../../scsi/files.scsi" major {sd = 2} # hey this was 0 but at slot 2 in bdevsw XXX major {cd = 3} define pcmcia {} # XXX dummy decl... -include "../../../dev/pci/files.pci" include "../../../dev/isa/files.isa" major { wd = 5 } # Not even in bdevsw XXX include "../../../dev/isa/files.isapnp" file arch/arc/isa/isapnp_machdep.c isapnp -# -# Openfirmware support -# - -include "../../../dev/ofw/files.ofw" -file arch/powerpc/powerpc/opendev.c ofcons | ofnet | ofdisk -major { ofdisk = 4 } |