]> err.no Git - linux-2.6/commitdiff
[PATCH] ARM: 2658/1: start ixp2000 pci memory resource at 0xe0000000
authorLennert Buytenhek <buytenh@org.rmk.(none)>
Fri, 29 Apr 2005 20:58:15 +0000 (21:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 29 Apr 2005 20:58:15 +0000 (21:58 +0100)
Patch from Lennert Buytenhek

On the IXDP2800, the bootloader does an awful job of configuring
the PCI bus, so we make linux reconfigure everything.  Having a 1:1
pci:phys address mapping generally simplifies everything, so try to
allocate PCI addresses from the [e0000000..ffffffff] range, which is
the physical address range of the outbound PCI window on the IXP2000.
This does not affect any of the other IXP2000 platforms since they
all use their bootloader's PCI resource assignment.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp2000/pci.c

index 36c9a94298cc95239644c7e394a1d47759f7429b..3844d5c7cf86cd766d9bb27733f47de36f3878b2 100644 (file)
@@ -208,7 +208,7 @@ ixp2000_pci_preinit(void)
  * use our own resource space.
  */
 static struct resource ixp2000_pci_mem_space = {
-       .start  = 0x00000000,
+       .start  = 0xe0000000,
        .end    = 0xffffffff,
        .flags  = IORESOURCE_MEM,
        .name   = "PCI Mem Space"