aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4u.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-06 16:34:18 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-06 16:34:18 +0000
commit1e43a8e4d263809aa4e606a8a16667fbfd0d754f (patch)
treeccfe1ae98f62edc3ee32438611cb197fd94d5f7a /hw/sun4u.c
parent5bc89ef61b7455c1bb46be27b66dd2d36d11416a (diff)
Sparc64: use ISA bus for i8042
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sun4u.c')
-rw-r--r--hw/sun4u.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 31d220ec92..03855d34fb 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -617,13 +617,13 @@ static void sun4uv_init(ram_addr_t RAM_size,
pci_cmd646_ide_init(pci_bus, hd, 1);
- /* FIXME: wire up interrupts. */
- i8042_init(NULL/*1*/, NULL/*12*/, 0x60);
+ isa_create_simple("i8042", 0x60, 0x64, 1, 12);
for(i = 0; i < MAX_FD; i++) {
dinfo = drive_get(IF_FLOPPY, 0, i);
fd[i] = dinfo ? dinfo->bdrv : NULL;
}
fdctrl_init_isa(6, 2, 0x3f0, fd);
+ /* FIXME: wire up interrupts. */
nvram = m48t59_init(NULL/*8*/, 0, 0x0074, NVRAM_SIZE, 59);
initrd_size = 0;