|
@@ -1299,15 +1299,14 @@ void __init pnv_pci_init_ioda1_phb(struct device_node *np)
|
|
/* Setup MSI support */
|
|
/* Setup MSI support */
|
|
pnv_pci_init_ioda_msis(phb);
|
|
pnv_pci_init_ioda_msis(phb);
|
|
|
|
|
|
- /* We set both probe_only and PCI_REASSIGN_ALL_RSRC. This is an
|
|
|
|
|
|
+ /* We set both PCI_PROBE_ONLY and PCI_REASSIGN_ALL_RSRC. This is an
|
|
* odd combination which essentially means that we skip all resource
|
|
* odd combination which essentially means that we skip all resource
|
|
* fixups and assignments in the generic code, and do it all
|
|
* fixups and assignments in the generic code, and do it all
|
|
* ourselves here
|
|
* ourselves here
|
|
*/
|
|
*/
|
|
- pci_probe_only = 1;
|
|
|
|
ppc_md.pcibios_fixup_phb = pnv_pci_ioda_fixup_phb;
|
|
ppc_md.pcibios_fixup_phb = pnv_pci_ioda_fixup_phb;
|
|
ppc_md.pcibios_enable_device_hook = pnv_pci_enable_device_hook;
|
|
ppc_md.pcibios_enable_device_hook = pnv_pci_enable_device_hook;
|
|
- pci_add_flags(PCI_REASSIGN_ALL_RSRC);
|
|
|
|
|
|
+ pci_add_flags(PCI_PROBE_ONLY | PCI_REASSIGN_ALL_RSRC);
|
|
|
|
|
|
/* Reset IODA tables to a clean state */
|
|
/* Reset IODA tables to a clean state */
|
|
rc = opal_pci_reset(phb_id, OPAL_PCI_IODA_TABLE_RESET, OPAL_ASSERT_RESET);
|
|
rc = opal_pci_reset(phb_id, OPAL_PCI_IODA_TABLE_RESET, OPAL_ASSERT_RESET);
|