From: Lennert Buytenhek Date: Fri, 29 Apr 2005 20:58:16 +0000 (+0100) Subject: [PATCH] ARM: 2659/1: do not assign PCI I/O address zero on IXP2000 X-Git-Tag: MMI-PSA29.97-13-9~56718^2~259^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=458a83fa43e83505f9401783ce9ed41b5a8b5591;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] ARM: 2659/1: do not assign PCI I/O address zero on IXP2000 Patch from Lennert Buytenhek Assigning the address zero to a PCI device BAR causes some part of the PCI subsystem to believe that resource allocation for that BAR failed due to resource conflicts, which will make attempts to enable the device fail. Work around this by assigning I/O addresses starting from 00010000. While we're at it, make the PCI I/O resource end at 0001ffff, since we only have 64k of outbound I/O window on the IXP2000, and we don't do bank switching. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King --- diff --git a/arch/arm/mach-ixp2000/pci.c b/arch/arm/mach-ixp2000/pci.c index 3844d5c7cf86..5ff2f2718c58 100644 --- a/arch/arm/mach-ixp2000/pci.c +++ b/arch/arm/mach-ixp2000/pci.c @@ -215,8 +215,8 @@ static struct resource ixp2000_pci_mem_space = { }; static struct resource ixp2000_pci_io_space = { - .start = 0x00000000, - .end = 0xffffffff, + .start = 0x00010000, + .end = 0x0001ffff, .flags = IORESOURCE_IO, .name = "PCI I/O Space" };