summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-ixp23xx
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2006-04-01 18:33:35 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-04-01 18:33:35 +0100
commit532bda5d9cd2f94a9e374765c23858c7d8641f66 (patch)
treea87fc82de89a993867d11e328b6b82afb16fe83a /include/asm-arm/arch-ixp23xx
parent50c37e216132d2185a15d5cf6b966adf6ecea535 (diff)
downloadop-kernel-dev-532bda5d9cd2f94a9e374765c23858c7d8641f66.zip
op-kernel-dev-532bda5d9cd2f94a9e374765c23858c7d8641f66.tar.gz
[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>
Diffstat (limited to 'include/asm-arm/arch-ixp23xx')
-rw-r--r--include/asm-arm/arch-ixp23xx/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/arch-ixp23xx/platform.h b/include/asm-arm/arch-ixp23xx/platform.h
index f85b468..e4d9906 100644
--- a/include/asm-arm/arch-ixp23xx/platform.h
+++ b/include/asm-arm/arch-ixp23xx/platform.h
@@ -22,6 +22,7 @@ void ixp23xx_sys_init(void);
int ixp23xx_pci_setup(int, struct pci_sys_data *);
void ixp23xx_pci_preinit(void);
struct pci_bus *ixp23xx_pci_scan_bus(int, struct pci_sys_data*);
+void ixp23xx_pci_slave_init(void);
extern struct sys_timer ixp23xx_timer;
OpenPOWER on IntegriCloud