[OpenBIOS] [PATCH 3/3] sparc64: fix pci host bridge offsets

Igor V. Kovalenko igor.v.kovalenko at gmail.com
Tue May 25 14:12:46 CEST 2010


From: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
---
 arch/sparc64/openbios.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/sparc64/openbios.c b/arch/sparc64/openbios.c
index 795d4f1..3f583f2 100644
--- a/arch/sparc64/openbios.c
+++ b/arch/sparc64/openbios.c
@@ -60,13 +60,13 @@ static const struct hwdef hwdefs[] = {
             .name = "SUNW,sabre",
             .vendor_id = PCI_VENDOR_ID_SUN,
             .device_id = PCI_DEVICE_ID_SUN_SABRE,
-            .cfg_addr = APB_SPECIAL_BASE + 0x1000000ULL,
-            .cfg_data = APB_MEM_BASE,
-            .cfg_base = 0x80000000ULL,
-            .cfg_len = 0,
-            .mem_base = APB_MEM_BASE + 0x400000ULL,
+            .cfg_addr = APB_SPECIAL_BASE + 0x1000000ULL, // PCI bus configuration space
+            .cfg_data = APB_MEM_BASE,                    // PCI bus memory space
+            .cfg_base = APB_SPECIAL_BASE,
+            .cfg_len = 0x2000000,
+            .mem_base = APB_MEM_BASE,
             .mem_len = 0x10000000,
-            .io_base = APB_SPECIAL_BASE + 0x2000000ULL,
+            .io_base = APB_SPECIAL_BASE + 0x2000000ULL, // PCI Bus I/O space
             .io_len = 0x10000,
             .irqs = { 0, 1, 2, 3 },
         },




More information about the OpenBIOS mailing list