summaryrefslogtreecommitdiff
path: root/hw/sun4u.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-14 15:33:28 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-14 15:33:28 +0000
commitf80237d45032fbc429aba3b597175fb544a11378 (patch)
treeb31ae09125263d899f13c3783a98301e57712dd6 /hw/sun4u.c
parent042eb37a04c9bf0cc76d14038a8ed35e3de713e2 (diff)
Add an ISA bus version of m48t59
Many thanks to Gerd Hoffmann for finding and fixing a bug in the initial version. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sun4u.c')
-rw-r--r--hw/sun4u.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c
index ffda4cda1..427ee764c 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -623,8 +623,7 @@ static void sun4uv_init(ram_addr_t RAM_size,
fd[i] = dinfo ? dinfo->bdrv : NULL;
}
fdctrl_init_isa(fd);
- /* FIXME: wire up interrupts. */
- nvram = m48t59_init(NULL/*8*/, 0, 0x0074, NVRAM_SIZE, 59);
+ nvram = m48t59_init_isa(0x0074, NVRAM_SIZE, 59);
initrd_size = 0;
kernel_size = sun4u_load_kernel(kernel_filename, initrd_filename,