From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVzJ7-0006N6-H6 for qemu-devel@nongnu.org; Sat, 27 Apr 2013 03:12:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVzJ6-0004LK-PL for qemu-devel@nongnu.org; Sat, 27 Apr 2013 03:12:29 -0400 Received: from mail-bk0-x231.google.com ([2a00:1450:4008:c01::231]:64046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVzJ6-0004LG-Hj for qemu-devel@nongnu.org; Sat, 27 Apr 2013 03:12:28 -0400 Received: by mail-bk0-f49.google.com with SMTP id w5so2065627bku.36 for ; Sat, 27 Apr 2013 00:12:27 -0700 (PDT) From: Artyom Tarasenko Date: Sat, 27 Apr 2013 09:12:16 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/2] sparc64: Fix NVRAM access mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: blauwirbel@gmail.com, Artyom Tarasenko 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. 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(-)