diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-13 20:49:47 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-15 10:13:30 +1100 |
commit | ee673eaa72d8d185012b1027a05e25aba18c267f (patch) | |
tree | 7472105f739a0af4e10a0848e7476ad08b361c69 /arch/powerpc/boot/elf_util.c | |
parent | 22007a165d2da38686d528f3af5c5d8b6713728c (diff) | |
download | op-kernel-dev-ee673eaa72d8d185012b1027a05e25aba18c267f.zip op-kernel-dev-ee673eaa72d8d185012b1027a05e25aba18c267f.tar.gz |
powerpc: Fix CHRP PCI config access for indirect_pci
Recently, indirect_pci was changed to test if the bus number requested
is the one hanging straight off the PHB, then it substitutes the bus
number with another one contained in a new "self_busno" field of the
pci_controller structure.
However, this breaks CHRP which didn't initialize this new field, and
which relies on having the right bus number passed to the hardware.
This fixes it by initializing this variable properly for all CHRP bridges
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/elf_util.c')
0 files changed, 0 insertions, 0 deletions