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>
This commit is contained in:
parent
da03a63ac8
commit
f048519309
|
@ -82,6 +82,7 @@ static struct resource sh7786_pci2_resources[] = {
|
||||||
.name = "PCIe2 IO",
|
.name = "PCIe2 IO",
|
||||||
.start = 0xfc800000,
|
.start = 0xfc800000,
|
||||||
.end = 0xfc800000 + SZ_4M - 1,
|
.end = 0xfc800000 + SZ_4M - 1,
|
||||||
|
.flags = IORESOURCE_IO,
|
||||||
}, {
|
}, {
|
||||||
.name = "PCIe2 MEM 0",
|
.name = "PCIe2 MEM 0",
|
||||||
.start = 0x80000000,
|
.start = 0x80000000,
|
||||||
|
|
Loading…
Reference in New Issue