From b1fc7ba1365772e6f3f0f668fc669f7396b9003f Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Mon, 14 Jan 2008 09:41:36 -0600 Subject: [PATCH] --- yaml --- r: 81276 b: refs/heads/master c: b188b2aefe2b0e7d34c98106e20214f806f812a3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/kernel/pci-common.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index db04ee94ba64..b46adaea4ebd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 96d69c31c5115341c6c1163aa3d591c2da687a76 +refs/heads/master: b188b2aefe2b0e7d34c98106e20214f806f812a3 diff --git a/trunk/arch/powerpc/kernel/pci-common.c b/trunk/arch/powerpc/kernel/pci-common.c index 7d0afd47b3e0..980fe32895c0 100644 --- a/trunk/arch/powerpc/kernel/pci-common.c +++ b/trunk/arch/powerpc/kernel/pci-common.c @@ -792,9 +792,10 @@ static void __devinit __pcibios_fixup_bus(struct pci_bus *bus) for (i = 0; i < PCI_BUS_NUM_RESOURCES; ++i) { if ((res = bus->resource[i]) == NULL) continue; - if (!res->flags || bus->self->transparent) + if (!res->flags) + continue; + if (i >= 3 && bus->self->transparent) continue; - /* On PowerMac, Apple leaves bridge windows open over * an inaccessible region of memory space (0...fffff) * which is somewhat bogus, but that's what they think