On Sat, Apr 27, 2013 at 7:12 AM, Artyom Tarasenko <atar4q...@gmail.com> wrote: > The sun4u machines use a slightly different modification of the ISA Mostek > chip. > It has MMIO, 1968 as a base year and no IRQ line. Since it matches our m48t08, > make keep PIO behavior for the 59 model and use MMIO for the 8 model.
The chip is definitely m48t59 (SGS-Thompson, M48T59Y-70MH1), even if the IRQ is not connected and software uses 1968 as the base year. Please make the base year a qdev property and keep the model unchanged. > > This series fixes recognising Mostek RTC in the Linux/sparc64 guest. > > Artyom Tarasenko (2): > m48t59: use mmio for the m48t08 model of the m48t59_isa card > sparc64: Use the correct type of the Mostek NVRAM chip > > hw/sparc64/sun4u.c | 5 ++++- > hw/timer/m48t59.c | 38 +++++++++++++++++++++++++++++++++++--- > 2 files changed, 39 insertions(+), 4 deletions(-) >