aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/wsp/wsp.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-08-08 12:30:54 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-20 09:19:53 +1000
commitf352c7251255effe6c2326190f1378adbd142aa3 (patch)
treefb4d2a9c841be4808317fb0541cf270c4462c50d /arch/powerpc/platforms/wsp/wsp.h
parent2fa3d9e5c699ff49e96199eeb9bea4508e7f5dac (diff)
powerpc/wsp: Add PCIe Root support to PowerEN/WSP
Based on a patch by Benjamin Herrenschmidt <benh@kernel.crashing.org> Modernized and slightly modified to not record erros into the nvram log since we do not have that device driver just yet. Jimi Xenidis <jimix@pobox.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/wsp/wsp.h')
-rw-r--r--arch/powerpc/platforms/wsp/wsp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/wsp/wsp.h b/arch/powerpc/platforms/wsp/wsp.h
index 7c3e087fd2f2..33479818f62a 100644
--- a/arch/powerpc/platforms/wsp/wsp.h
+++ b/arch/powerpc/platforms/wsp/wsp.h
@@ -3,6 +3,9 @@
#include <asm/wsp.h>
+/* Devtree compatible strings for major devices */
+#define PCIE_COMPATIBLE "ibm,wsp-pciex"
+
extern void wsp_setup_pci(void);
extern void scom_init_wsp(void);