projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da03a63
)
sh: Properly wire up channel 2's I/O window on SH7786 PCIe.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 7 Sep 2010 08:05:08 +0000
(17:05 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 7 Sep 2010 08:05:08 +0000
(17:05 +0900)
An IORESOURCE_IO was missing here, which meant that we weren't properly
establishing the I/O window for this particular slot. With this
corrected, cards with I/O BARs have them actually assigned and
accessible.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/pcie-sh7786.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/drivers/pci/pcie-sh7786.c
b/arch/sh/drivers/pci/pcie-sh7786.c
index 4f79fd9059e0ac7f9a8ca2a6b31d60c17cdd1406..c1e862af9b634e7ce8243b1d35101c14fba146f1 100644
(file)
--- a/
arch/sh/drivers/pci/pcie-sh7786.c
+++ b/
arch/sh/drivers/pci/pcie-sh7786.c
@@
-82,6
+82,7
@@
static struct resource sh7786_pci2_resources[] = {
.name = "PCIe2 IO",
.start = 0xfc800000,
.end = 0xfc800000 + SZ_4M - 1,
+ .flags = IORESOURCE_IO,
}, {
.name = "PCIe2 MEM 0",
.start = 0x80000000,