summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/xilinx_pci.h
diff options
context:
space:
mode:
authorRoderick Colenbrander <thunderbird2k@gmail.com>2009-06-06 10:14:22 -0600
committerGrant Likely <grant.likely@secretlab.ca>2009-06-06 10:14:22 -0600
commit64f16502475ddf663169369fffff6da9b10ea9fb (patch)
treef87337788f02c425e821955905a04e5e293f81e6 /arch/powerpc/include/asm/xilinx_pci.h
parentbaf75b0a42a1b3f6fca80f8949b6141eaff61b0d (diff)
downloadblackbird-op-linux-64f16502475ddf663169369fffff6da9b10ea9fb.tar.gz
blackbird-op-linux-64f16502475ddf663169369fffff6da9b10ea9fb.zip
powerpc/virtex: Add support for Xilinx PCI host bridge
This patch adds support for the Xilinx plbv46-pci-1.03.a PCI host bridge IPcore. Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/include/asm/xilinx_pci.h')
-rw-r--r--arch/powerpc/include/asm/xilinx_pci.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/xilinx_pci.h b/arch/powerpc/include/asm/xilinx_pci.h
new file mode 100644
index 000000000000..7a8275caf6af
--- /dev/null
+++ b/arch/powerpc/include/asm/xilinx_pci.h
@@ -0,0 +1,21 @@
+/*
+ * Xilinx pci external definitions
+ *
+ * Copyright 2009 Roderick Colenbrander
+ * Copyright 2009 Secret Lab Technologies Ltd.
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+#ifndef INCLUDE_XILINX_PCI
+#define INCLUDE_XILINX_PCI
+
+#ifdef CONFIG_XILINX_PCI
+extern void __init xilinx_pci_init(void);
+#else
+static inline void __init xilinx_pci_init(void) { return; }
+#endif
+
+#endif /* INCLUDE_XILINX_PCI */
OpenPOWER on IntegriCloud