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>
This commit is contained in:
Blue Swirl 2009-09-14 15:33:28 +00:00
parent 042eb37a04
commit f80237d450
3 changed files with 81 additions and 18 deletions

View file

@ -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,