Skip to contentSkip to conversation

prep: Use ISA m48t59

PATCH Applied Andreas Färber 1 participant 2 messages Jan 13, 2012 – Jan 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 prep: Use ISA m48t59

This simplifies the code later when the i8259 moves to the i82378 PCI->ISA bridge and happens to fix a SysBus m48t59 io_base issue introduced by commit 0fb56ffc5edd66f12ccfc0d71af5f9c79c0a2612 (m48t59:
drop obsolete address base arithmetic). Suggested by Hervé and Jan.

Cc Hervé Poussineau <[email protected]>
Cc Jan Kiszka <[email protected]>
Cc Blue Swirl <[email protected]>
---
 hw/ppc_prep.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/ppc_prep.c +1 -1
index dec059a..1cc0ae0 100644
@@ -707,7 +707,7 @@ static void ppc_prep_init (ram_addr_t ram_size,
         usb_ohci_init_pci(pci_bus, -1);
     }
 
-    m48t59 = m48t59_init(i8259[8], 0, 0x0074, NVRAM_SIZE, 59);
+    m48t59 = m48t59_init_isa(isa_bus, 0x0074, NVRAM_SIZE, 59);
     if (m48t59 == NULL)
         return;
     sysctrl->nvram = m48t59;
Signature · 1 line
1.7.7
author Applied
#1 lore raw

Am 13.01.2012 18:35, schrieb Andreas Färber:

Quoted 10 lines

This simplifies the code later when the i8259 moves to the i82378 PCI->ISA bridge and happens to fix a SysBus m48t59 io_base issue introduced by commit 0fb56ffc5edd66f12ccfc0d71af5f9c79c0a2612 (m48t59:
drop obsolete address base arithmetic). Suggested by Hervé and Jan.

Cc Hervé Poussineau <[email protected]>
Cc Jan Kiszka <[email protected]>
Cc Blue Swirl <[email protected]>

---

Applied to prep-up branch:
http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/prep-up

/-F