summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-03-03 05:40:02 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-03-03 05:40:02 +0000
commit4c0f07e3925a807fc67822ab724a7b6289c29d09 (patch)
tree063e68252a46732c51c041cc0476b9b3a3b69d28 /sys/dev
parent71ff5cc792c2eebda550e02895130fe4dac9f3c4 (diff)
Change how PCI bus memory base address is found for powerpc.
This is probably quite a hack. however some bridges have multiple "memory" segment according to the openfirmware data. one is the pci device probe register area, and the one or two more that are real address regions. Such as base 0x80000000 sz 0x10000000, base 0x90000000 sz 0x10000000. This should really be one region but detecting the "last" region to avoid the first region causes the wrong base address to be picked. Currently this hardcodes it to 0x80000000 because it seems to work for "normal" pci currently. openfirmware puts full address in the field and the other devices seem to work on tested machines.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions