[OpenBIOS] [PATCH 02/13] SPARC64: increase size of PCI IO space

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Sat Jul 8 22:35:49 CEST 2017


This is required to ensure that we can fit both SUNW,simba devices within
the available space.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
 arch/sparc64/openbios.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sparc64/openbios.c b/arch/sparc64/openbios.c
index 06ceec9..1703ed6 100644
--- a/arch/sparc64/openbios.c
+++ b/arch/sparc64/openbios.c
@@ -63,10 +63,10 @@ static const struct hwdef hwdefs[] = {
             .pci_mem_base = 0x100000, /* avoid VGA at 0xa0000 */
             .mem_len = 0xf0000000,
             .io_base = APB_SPECIAL_BASE + 0x2000000ULL, // PCI Bus I/O space
-            .io_len = 0x10000,
+            .io_len = 0x1000000,
             .host_ranges = {
                 { .type = CONFIGURATION_SPACE, .parentaddr = 0, .childaddr = APB_SPECIAL_BASE + 0x1000000ULL, .len = 0x2000000 },
-                { .type = IO_SPACE, .parentaddr = 0, .childaddr = APB_SPECIAL_BASE + 0x2000000ULL, .len = 0x10000 },
+                { .type = IO_SPACE, .parentaddr = 0, .childaddr = APB_SPECIAL_BASE + 0x2000000ULL, .len = 0x1000000 },
                 { .type = MEMORY_SPACE_32, .parentaddr = 0x100000, .childaddr = APB_MEM_BASE + 0x100000ULL, .len = 0xf0000000 },
                 { .type = 0, .parentaddr = 0, .childaddr = 0, .len = 0 }
             },
-- 
1.7.10.4




More information about the OpenBIOS mailing list