[PATCH] 4xx: Fix PCI mem in rainier DTS

STALE6737d

3 messages, 2 authors, 2008-05-16 · open the first message on its own page

[PATCH] 4xx: Fix PCI mem in rainier DTS

From: Josh Boyer <hidden>
Date: 2008-05-15 14:44:54

This fixes the PCI node in the Rainier to match the spec from AMCC.  A
similar fix was done for 440EPx, which shares the same values as 440GRx.

Signed-off-by: Josh Boyer <redacted>

---
 arch/powerpc/boot/dts/rainier.dts |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
--- linux-2.6.orig/arch/powerpc/boot/dts/rainier.dts
+++ linux-2.6/arch/powerpc/boot/dts/rainier.dts
@@ -328,8 +328,9 @@
 			 * later cannot be changed. Chip supports a second
 			 * IO range but we don't use it for now
 			 */
-			ranges = <02000000 0 80000000 1 80000000 0 10000000
-				01000000 0 00000000 1 e8000000 0 00100000>;
+			ranges = <02000000 0 80000000 1 80000000 0 40000000
+				01000000 0 00000000 1 e8000000 0 00010000
+				01000000 0 00000000 1 e8800000 0 03800000>;
 
 			/* Inbound 2GB range starting at 0 */
 			dma-ranges = <42000000 0 0 0 0 0 80000000>;

Re: [PATCH] 4xx: Fix PCI mem in rainier DTS

From: David Gibson <hidden>
Date: 2008-05-16 01:38:28

On Thu, May 15, 2008 at 09:41:23AM -0500, Josh Boyer wrote:
This fixes the PCI node in the Rainier to match the spec from AMCC.  A
similar fix was done for 440EPx, which shares the same values as 440GRx.
This will conflict with the dts-v1 conversion patch.
quoted hunk
--- linux-2.6.orig/arch/powerpc/boot/dts/rainier.dts
+++ linux-2.6/arch/powerpc/boot/dts/rainier.dts
@@ -328,8 +328,9 @@
 			 * later cannot be changed. Chip supports a second
 			 * IO range but we don't use it for now
 			 */
-			ranges = <02000000 0 80000000 1 80000000 0 10000000
-				01000000 0 00000000 1 e8000000 0 00100000>;
+			ranges = <02000000 0 80000000 1 80000000 0 40000000
+				01000000 0 00000000 1 e8000000 0 00010000
+				01000000 0 00000000 1 e8800000 0 03800000>;
 
 			/* Inbound 2GB range starting at 0 */
 			dma-ranges = <42000000 0 0 0 0 0 80000000>;
-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Re: [PATCH] 4xx: Fix PCI mem in rainier DTS

From: Josh Boyer <hidden>
Date: 2008-05-16 03:55:45

On Fri, 16 May 2008 10:15:29 +1000
David Gibson [off-list ref] wrote:
On Thu, May 15, 2008 at 09:41:23AM -0500, Josh Boyer wrote:
quoted
This fixes the PCI node in the Rainier to match the spec from AMCC.  A
similar fix was done for 440EPx, which shares the same values as 440GRx.
This will conflict with the dts-v1 conversion patch.
I'm well aware of that.  It will be fixed up.  Thanks.

josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help