PASEMI: PCI_SCAN_ALL_PCIE_DEVS

Christian Zigotzky chzigotzky at xenosoft.de
Mon Mar 12 16:21:53 AEDT 2018


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(+)

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);

---

Thanks,
Christian


More information about the Linuxppc-dev mailing list