diff options
author | York Sun <yorksun@freescale.com> | 2007-06-04 12:56:42 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-06-29 02:58:27 -0400 |
commit | 6d8ff10c3ab1e3d4a40788442f1369e868103e43 (patch) | |
tree | e272662a2327e6b833e40ab9c07ec2307261b50e /arch/powerpc/kernel/pci_32.c | |
parent | 3ac4f0e1dd81e107a1c3462a5c20e318fdafdb82 (diff) |
[POWERPC] Let subordinate transparent bridges be transparent.
In pcibios_fixup_bus(), bridges that are subordinate
to transparent bridges were still relocating their
IORESOURCE_IO and IO_RESOURCE_MEM start and end values.
Fix this by preventing the transparent bridge from
relocating the start and end values, thus allowing the
subordinate non-transparent bridge full molestation rights.
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/pci_32.c')
-rw-r--r-- | arch/powerpc/kernel/pci_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c index e66064b5093a..7738a2881c9f 100644 --- a/arch/powerpc/kernel/pci_32.c +++ b/arch/powerpc/kernel/pci_32.c | |||
@@ -1370,7 +1370,7 @@ void __init pcibios_fixup_bus(struct pci_bus *bus) | |||
1370 | for (i = 0; i < 4; ++i) { | 1370 | for (i = 0; i < 4; ++i) { |
1371 | if ((res = bus->resource[i]) == NULL) | 1371 | if ((res = bus->resource[i]) == NULL) |
1372 | continue; | 1372 | continue; |
1373 | if (!res->flags) | 1373 | if (!res->flags || bus->self->transparent) |
1374 | continue; | 1374 | continue; |
1375 | if (io_offset && (res->flags & IORESOURCE_IO)) { | 1375 | if (io_offset && (res->flags & IORESOURCE_IO)) { |
1376 | res->start += io_offset; | 1376 | res->start += io_offset; |