[ARM] 3438/1: ixp23xx: add pci slave support
authorLennert Buytenhek <buytenh@wantstofly.org>
Sat, 1 Apr 2006 17:33:35 +0000 (18:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 1 Apr 2006 17:33:35 +0000 (18:33 +0100)
commit532bda5d9cd2f94a9e374765c23858c7d8641f66
treea87fc82de89a993867d11e328b6b82afb16fe83a
parent50c37e216132d2185a15d5cf6b966adf6ecea535
[ARM] 3438/1: ixp23xx: add pci slave support

Patch from Lennert Buytenhek

On the Double Espresso board, the IXP2350s are PCI slave devices and
we skip calling pci_common_init() as that enumerates the bus.  But even
though we are a PCI slave device, there is still some PCI-related setup
that has to be done.

Create ixp23xx_pci_common_init(), move the common initialisation bits
there, and have this function called from both the PCI master and the
PCI slave init path.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp23xx/espresso.c
arch/arm/mach-ixp23xx/pci.c
include/asm-arm/arch-ixp23xx/platform.h