summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/44x/bamboo.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-12-21 15:39:37 +1100
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-12-23 13:18:59 -0600
commit25c24f3dc7f01491ea0d92a1de2bb84094b27e21 (patch)
treee714a8ad0173057343ef4f87c870ea46a1ef3990 /arch/powerpc/platforms/44x/bamboo.c
parent035ee4282dc5ad19f0141821511346b8de1839af (diff)
downloadop-kernel-dev-25c24f3dc7f01491ea0d92a1de2bb84094b27e21.zip
op-kernel-dev-25c24f3dc7f01491ea0d92a1de2bb84094b27e21.tar.gz
[POWERPC] pci32: 4xx embedded platforms want to reassign all PCI resources
This makes 4xx embedded platforms re-assign all PCI resources as we pretty much never care about what the various firmwares have done on these, it's generally not compatible with the way the kernel will map the bridges. We still need to also enable bus renumbering on some of them, but I will do that from a separate patch after I've fixed 4xx PCIe to handle all bus numbers. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/platforms/44x/bamboo.c')
-rw-r--r--arch/powerpc/platforms/44x/bamboo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/44x/bamboo.c b/arch/powerpc/platforms/44x/bamboo.c
index be23f11..553c9f1 100644
--- a/arch/powerpc/platforms/44x/bamboo.c
+++ b/arch/powerpc/platforms/44x/bamboo.c
@@ -21,6 +21,8 @@
#include <asm/udbg.h>
#include <asm/time.h>
#include <asm/uic.h>
+#include <asm/pci-bridge.h>
+
#include "44x.h"
static struct of_device_id bamboo_of_bus[] = {
@@ -48,6 +50,8 @@ static int __init bamboo_probe(void)
if (!of_flat_dt_is_compatible(root, "amcc,bamboo"))
return 0;
+ ppc_pci_flags = PPC_PCI_REASSIGN_ALL_RSRC;
+
return 1;
}
OpenPOWER on IntegriCloud