diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 22:18:58 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 22:18:58 -0500 |
commit | 3c13be017abe041e495862d50dbd83093e09cd6a (patch) | |
tree | 54f430a5df0d835950430b7199633cc578041c32 /arch/powerpc/platforms/wsp | |
parent | 14be538c566f6fd6f8c8abd1687aa5d36a600703 (diff) |
powerpc/PCI: make pci_probe_only default to 0
pci_probe_only is set on ppc64 to prevent resource re-allocation
by the core. It's meant to be used in very specific circumstances
such as when operating under a hypervisor that may prevent such
re-allocation.
Instead of default to 1, we make it default to 0 and explicitly
set it in the few cases where we need it.
This fixes FSL PCI which wants it clear among others.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/powerpc/platforms/wsp')
-rw-r--r-- | arch/powerpc/platforms/wsp/wsp_pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/wsp/wsp_pci.c b/arch/powerpc/platforms/wsp/wsp_pci.c index e0262cd0e2d3..299157afb517 100644 --- a/arch/powerpc/platforms/wsp/wsp_pci.c +++ b/arch/powerpc/platforms/wsp/wsp_pci.c | |||
@@ -682,7 +682,6 @@ static int __init wsp_setup_one_phb(struct device_node *np) | |||
682 | /* XXX Force re-assigning of everything for now */ | 682 | /* XXX Force re-assigning of everything for now */ |
683 | pci_add_flags(PCI_REASSIGN_ALL_BUS | PCI_REASSIGN_ALL_RSRC | | 683 | pci_add_flags(PCI_REASSIGN_ALL_BUS | PCI_REASSIGN_ALL_RSRC | |
684 | PCI_ENABLE_PROC_DOMAINS); | 684 | PCI_ENABLE_PROC_DOMAINS); |
685 | pci_probe_only = 0; | ||
686 | 685 | ||
687 | /* Calculate how the TCE space is divided */ | 686 | /* Calculate how the TCE space is divided */ |
688 | phb->dma32_base = 0; | 687 | phb->dma32_base = 0; |