Commit 035ee428 authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Josh Boyer

[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: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
parent 5be9419a
This diff is collapsed.
...@@ -330,6 +330,8 @@ ...@@ -330,6 +330,8 @@
/* /*
* Config space register offsets * Config space register offsets
*/ */
#define PECFG_ECRTCTL 0x074
#define PECFG_BAR0LMPA 0x210 #define PECFG_BAR0LMPA 0x210
#define PECFG_BAR0HMPA 0x214 #define PECFG_BAR0HMPA 0x214
#define PECFG_BAR1MPA 0x218 #define PECFG_BAR1MPA 0x218
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment