Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294747
b: refs/heads/master
c: 3c13be0
h: refs/heads/master
i:
  294745: 31b828e
  294743: c09fad4
v: v3
  • Loading branch information
Bjorn Helgaas committed Feb 24, 2012
1 parent 606217b commit 9d53814
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 14be538c566f6fd6f8c8abd1687aa5d36a600703
refs/heads/master: 3c13be017abe041e495862d50dbd83093e09cd6a
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/pci_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <asm/machdep.h>
#include <asm/ppc-pci.h>

unsigned long pci_probe_only = 1;
unsigned long pci_probe_only = 0;

/* pci_io_base -- the base address from which io bars are offsets.
* This is the lowest I/O base address (so bar values are always positive),
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/powerpc/platforms/powermac/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1059,9 +1059,6 @@ void __init pmac_pci_init(void)
}
/* pmac_check_ht_link(); */

/* We can allocate missing resources if any */
pci_probe_only = 0;

#else /* CONFIG_PPC64 */
init_p2pbridge();
init_second_ohare();
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/powerpc/platforms/powernv/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,9 +557,6 @@ void __init pnv_pci_init(void)

pci_set_flags(PCI_CAN_SKIP_ISA_ALIGN);

/* We do not want to just probe */
pci_probe_only = 0;

/* OPAL absent, try POPAL first then RTAS detection of PHBs */
if (!firmware_has_feature(FW_FEATURE_OPAL)) {
#ifdef CONFIG_PPC_POWERNV_RTAS
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/platforms/pseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ static void __init pSeries_setup_arch(void)

fwnmi_init();

/* By default, only probe PCI (can be overriden by rtas_pci */
pci_probe_only = 1;

/* Find and initialize PCI host bridges */
init_pci_config_tokens();
find_and_init_phbs();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/platforms/wsp/wsp_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,6 @@ static int __init wsp_setup_one_phb(struct device_node *np)
/* XXX Force re-assigning of everything for now */
pci_add_flags(PCI_REASSIGN_ALL_BUS | PCI_REASSIGN_ALL_RSRC |
PCI_ENABLE_PROC_DOMAINS);
pci_probe_only = 0;

/* Calculate how the TCE space is divided */
phb->dma32_base = 0;
Expand Down

0 comments on commit 9d53814

Please sign in to comment.