aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/ppc4xx_pci.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-12-20 23:39:36 -0500
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-12-23 14:18:49 -0500
commit035ee4282dc5ad19f0141821511346b8de1839af (patch)
tree6627691bd5b40363c71a41bed5d4add234b6c348 /arch/powerpc/sysdev/ppc4xx_pci.h
parent5be9419ac613b9e6ce29fbddd0c4429f8d0acc08 (diff)
[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 @@
330/* 330/*
331 * Config space register offsets 331 * Config space register offsets
332 */ 332 */
333#define PECFG_ECRTCTL 0x074
334
333#define PECFG_BAR0LMPA 0x210 335#define PECFG_BAR0LMPA 0x210
334#define PECFG_BAR0HMPA 0x214 336#define PECFG_BAR0HMPA 0x214
335#define PECFG_BAR1MPA 0x218 337#define PECFG_BAR1MPA 0x218