summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/ppc4xx_pci.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt2007-12-21 05:39:36 +0100
committerJosh Boyer2007-12-23 20:18:49 +0100
commit035ee4282dc5ad19f0141821511346b8de1839af (patch)
tree6627691bd5b40363c71a41bed5d4add234b6c348 /arch/powerpc/sysdev/ppc4xx_pci.h
parent[POWERPC] 4xx: remove bogus "ranges" property in Bamboo EBC node (diff)
downloadkernel-qcow2-linux-035ee4282dc5ad19f0141821511346b8de1839af.tar.gz
kernel-qcow2-linux-035ee4282dc5ad19f0141821511346b8de1839af.tar.xz
kernel-qcow2-linux-035ee4282dc5ad19f0141821511346b8de1839af.zip
[POWERPC] 4xx: PCI-E Link setup improvements
This improves the way the 4xx PCI-E code handles checking for a link and adds explicit testing of CRS result codes on config space accesses. This should make it more reliable. Also, bridges with no link are now still created, though config space accesses beyond the root complex are filtered. This is one step toward eventually supporting hotplug. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/sysdev/ppc4xx_pci.h')
-rw-r--r--arch/powerpc/sysdev/ppc4xx_pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/ppc4xx_pci.h b/arch/powerpc/sysdev/ppc4xx_pci.h
index 43e51ce5c477..1c07908dc6ef 100644
--- a/arch/powerpc/sysdev/ppc4xx_pci.h
+++ b/arch/powerpc/sysdev/ppc4xx_pci.h
@@ -330,6 +330,8 @@
/*
* Config space register offsets
*/
+#define PECFG_ECRTCTL 0x074
+
#define PECFG_BAR0LMPA 0x210
#define PECFG_BAR0HMPA 0x214
#define PECFG_BAR1MPA 0x218