aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/pci.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-01-18 09:27:11 -0500
committerMichal Simek <monstr@monstr.eu>2010-03-11 08:05:18 -0500
commit733cc2183116b216abb52e709709bb0e626c9a75 (patch)
tree8764b775948622c493f70f136d25b359af90e04c /arch/microblaze/include/asm/pci.h
parenta6475c132278c1be158a13872c233aeab8a00176 (diff)
microblaze: Add support for Xilinx PCI host bridge
This patch is based on powerpc patch 64f16502475ddf663169369fffff6da9b10ea9fb We did some cleanups and removed powerpc parts. There is one new debug early listing function too. Exclude function is only in Debug options. We tested in on custom board. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/pci.h')
-rw-r--r--arch/microblaze/include/asm/pci.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h
index fecc04481101..bdd65aaee30d 100644
--- a/arch/microblaze/include/asm/pci.h
+++ b/arch/microblaze/include/asm/pci.h
@@ -166,5 +166,12 @@ extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
166extern void pcibios_setup_bus_devices(struct pci_bus *bus); 166extern void pcibios_setup_bus_devices(struct pci_bus *bus);
167extern void pcibios_setup_bus_self(struct pci_bus *bus); 167extern void pcibios_setup_bus_self(struct pci_bus *bus);
168 168
169/* This part of code was originaly in xilinx-pci.h */
170#ifdef CONFIG_PCI_XILINX
171extern void __init xilinx_pci_init(void);
172#else
173static inline void __init xilinx_pci_init(void) { return; }
174#endif
175
169#endif /* __KERNEL__ */ 176#endif /* __KERNEL__ */
170#endif /* __ASM_MICROBLAZE_PCI_H */ 177#endif /* __ASM_MICROBLAZE_PCI_H */