Thread (27 messages) 27 messages, 8 authors, 2011-12-01

[PATCH 1/6] 44x/pci: Continue pci setup even if there is no sdr-base in the device-tree

From: Tony Breeds <hidden>
Date: 2011-11-30 05:23:55
Subsystem: linux for powerpc (32-bit and 64-bit), the rest · Maintainers: Madhavan Srinivasan, Michael Ellerman, Linus Torvalds

Signed-off-by: Tony Breeds <redacted>
---
 arch/powerpc/sysdev/ppc4xx_pci.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/sysdev/ppc4xx_pci.c b/arch/powerpc/sysdev/ppc4xx_pci.c
index 16f5eba..d3fa380 100644
--- a/arch/powerpc/sysdev/ppc4xx_pci.c
+++ b/arch/powerpc/sysdev/ppc4xx_pci.c
@@ -1974,11 +1974,11 @@ static void __init ppc4xx_probe_pciex_bridge(struct device_node *np)
 	port->node = of_node_get(np);
 	pval = of_get_property(np, "sdr-base", NULL);
 	if (pval == NULL) {
-		printk(KERN_ERR "PCIE: missing sdr-base for %s\n",
+		printk(KERN_INFO "PCIE: missing sdr-base for %s\n",
 		       np->full_name);
-		return;
+	} else {
+		port->sdr_base = *pval;
 	}
-	port->sdr_base = *pval;
 
 	/* Check if device_type property is set to "pci" or "pci-endpoint".
 	 * Resulting from this setup this PCIe port will be configured
-- 
1.7.6.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help