]> err.no Git - linux-2.6/commit
[PATCH] ARM: 2659/1: do not assign PCI I/O address zero on IXP2000
authorLennert Buytenhek <buytenh@org.rmk.(none)>
Fri, 29 Apr 2005 20:58:16 +0000 (21:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 29 Apr 2005 20:58:16 +0000 (21:58 +0100)
commit458a83fa43e83505f9401783ce9ed41b5a8b5591
tree18129650697875bff9709784ec85a1ad6be794c8
parentae36bf5861e1091dd337f0b475e043ab07d4a937
[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 <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp2000/pci.c