Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6d8ff10c3ab1e3d4a40788442f1369e868103e43
Commit:     6d8ff10c3ab1e3d4a40788442f1369e868103e43
Parent:     3ac4f0e1dd81e107a1c3462a5c20e318fdafdb82
Author:     York Sun <[EMAIL PROTECTED]>
AuthorDate: Mon Jun 4 11:56:42 2007 -0500
Committer:  Kumar Gala <[EMAIL PROTECTED]>
CommitDate: Fri Jun 29 01:58:27 2007 -0500

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Andy Fleming <[EMAIL PROTECTED]>
    Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]>
    Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
---
 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 e66064b..7738a28 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)
                for (i = 0; i < 4; ++i) {
                        if ((res = bus->resource[i]) == NULL)
                                continue;
-                       if (!res->flags)
+                       if (!res->flags || bus->self->transparent)
                                continue;
                        if (io_offset && (res->flags & IORESOURCE_IO)) {
                                res->start += io_offset;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to