diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-09-20 15:39:54 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-09-20 15:39:54 +0900 |
commit | 2c65d75ec4dde5e619a462e70cdd7b67e0e64bb8 (patch) | |
tree | 92bf4545d694888073a39c963b1d4f278785642c /lib/vsprintf.c | |
parent | cabdf8bf488bfa3b565360b9fa1322d2db7747eb (diff) | |
download | linux-2c65d75ec4dde5e619a462e70cdd7b67e0e64bb8.tar.bz2 |
sh: pci: Support root complex config accesses on SH7786 PCIe.
The SH7786 PCIe is presently unable to enumerate itself in root complex
mode, and has no visibility through either type 0 or type 1 accesses,
despite having a mostly sensible extended config space for each port.
Attempts to generate type 0 or type 1 config cycles result in completer
aborts, so we're ultimately forced to use SuperHyway transactions
instead.
As each port has a single port <-> device mapping that resolves for any
PCI_SLOT definition, we simply hijack devfn 0 for the SuperHyway
transaction and bump up the devfn limit.
With enumeration of the root complex now possible, we also need to insert
an early fixup to hide the BARs from the kernel. With all of that done,
it's now possible to use the pcieport services with all of the PCIe
ports, which is the first step to power management support.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions