aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers/pci
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-09-07 04:05:08 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-09-07 04:05:08 -0400
commitf048519309dbaedd03807ddbb9fa22f5616cfd43 (patch)
tree05f4e5c68bb6c2f8c52ceb936da29ddd8a1a86fc /arch/sh/drivers/pci
parentda03a63ac843711887a85e5d90dd69399b1b9164 (diff)
sh: Properly wire up channel 2's I/O window on SH7786 PCIe.
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>
Diffstat (limited to 'arch/sh/drivers/pci')
-rw-r--r--arch/sh/drivers/pci/pcie-sh7786.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/drivers/pci/pcie-sh7786.c b/arch/sh/drivers/pci/pcie-sh7786.c
index 4f79fd9059e0..c1e862af9b63 100644
--- 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[] = {
82 .name = "PCIe2 IO", 82 .name = "PCIe2 IO",
83 .start = 0xfc800000, 83 .start = 0xfc800000,
84 .end = 0xfc800000 + SZ_4M - 1, 84 .end = 0xfc800000 + SZ_4M - 1,
85 .flags = IORESOURCE_IO,
85 }, { 86 }, {
86 .name = "PCIe2 MEM 0", 87 .name = "PCIe2 MEM 0",
87 .start = 0x80000000, 88 .start = 0x80000000,