diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-12-20 23:39:37 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-12-23 14:18:59 -0500 |
commit | 25c24f3dc7f01491ea0d92a1de2bb84094b27e21 (patch) | |
tree | e714a8ad0173057343ef4f87c870ea46a1ef3990 /arch/powerpc/platforms/44x/ebony.c | |
parent | 035ee4282dc5ad19f0141821511346b8de1839af (diff) |
[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/ebony.c')
-rw-r--r-- | arch/powerpc/platforms/44x/ebony.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/44x/ebony.c b/arch/powerpc/platforms/44x/ebony.c index 6cd3476767cc..262f300cc10d 100644 --- a/arch/powerpc/platforms/44x/ebony.c +++ b/arch/powerpc/platforms/44x/ebony.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <asm/udbg.h> | 24 | #include <asm/udbg.h> |
25 | #include <asm/time.h> | 25 | #include <asm/time.h> |
26 | #include <asm/uic.h> | 26 | #include <asm/uic.h> |
27 | #include <asm/pci-bridge.h> | ||
27 | 28 | ||
28 | #include "44x.h" | 29 | #include "44x.h" |
29 | 30 | ||
@@ -55,6 +56,8 @@ static int __init ebony_probe(void) | |||
55 | if (!of_flat_dt_is_compatible(root, "ibm,ebony")) | 56 | if (!of_flat_dt_is_compatible(root, "ibm,ebony")) |
56 | return 0; | 57 | return 0; |
57 | 58 | ||
59 | ppc_pci_flags = PPC_PCI_REASSIGN_ALL_RSRC; | ||
60 | |||
58 | return 1; | 61 | return 1; |
59 | } | 62 | } |
60 | 63 | ||