Skip to content

Commit f048519

Browse files
committed
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>
1 parent da03a63 commit f048519

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/sh/drivers/pci/pcie-sh7786.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ static struct resource sh7786_pci2_resources[] = {
8282
.name = "PCIe2 IO",
8383
.start = 0xfc800000,
8484
.end = 0xfc800000 + SZ_4M - 1,
85+
.flags = IORESOURCE_IO,
8586
}, {
8687
.name = "PCIe2 MEM 0",
8788
.start = 0x80000000,

0 commit comments

Comments
 (0)