diff mbox series

PASEMI: PCI_SCAN_ALL_PCIE_DEVS

Message ID BD2DFDC2-07CF-41A8-9AAE-9D990EFF6360@xenosoft.de (mailing list archive)
State Not Applicable
Headers show
Series PASEMI: PCI_SCAN_ALL_PCIE_DEVS | expand

Commit Message

Christian Zigotzky March 12, 2018, 5:21 a.m. UTC
Hi All,

Could you please add Olof‘s patch. Without this patch, we have to always add 'pci=pcie_scan_all' to the kernel boot arguments. Please add it.

Olof's patch for P.A. Semi boards:

---

arch/powerpc/platforms/pasemi/pci.c | 2 ++
1 file changed, 2 insertions(+)


---

Thanks,
Christian
diff mbox series

Patch

diff --git a/arch/powerpc/platforms/pasemi/pci.c b/arch/powerpc/platforms/pasemi/pci.c
index 5ff6108..ea54ed2 100644
--- a/arch/powerpc/platforms/pasemi/pci.c
+++ b/arch/powerpc/platforms/pasemi/pci.c
@@ -224,6 +224,8 @@  void __init pas_pci_init(void)
return;
}

+ pci_set_flags(PCI_SCAN_ALL_PCIE_DEVS);
+
for (np = NULL; (np = of_get_next_child(root, np)) != NULL;)
if (np->name && !strcmp(np->name, "pxp") && !pas_add_bridge(np))
of_node_get(np);