提交 1e43a8e4 编写于 作者: B Blue Swirl

Sparc64: use ISA bus for i8042

Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 5bc89ef6
...@@ -617,13 +617,13 @@ static void sun4uv_init(ram_addr_t RAM_size, ...@@ -617,13 +617,13 @@ static void sun4uv_init(ram_addr_t RAM_size,
pci_cmd646_ide_init(pci_bus, hd, 1); pci_cmd646_ide_init(pci_bus, hd, 1);
/* FIXME: wire up interrupts. */ isa_create_simple("i8042", 0x60, 0x64, 1, 12);
i8042_init(NULL/*1*/, NULL/*12*/, 0x60);
for(i = 0; i < MAX_FD; i++) { for(i = 0; i < MAX_FD; i++) {
dinfo = drive_get(IF_FLOPPY, 0, i); dinfo = drive_get(IF_FLOPPY, 0, i);
fd[i] = dinfo ? dinfo->bdrv : NULL; fd[i] = dinfo ? dinfo->bdrv : NULL;
} }
fdctrl_init_isa(6, 2, 0x3f0, fd); fdctrl_init_isa(6, 2, 0x3f0, fd);
/* FIXME: wire up interrupts. */
nvram = m48t59_init(NULL/*8*/, 0, 0x0074, NVRAM_SIZE, 59); nvram = m48t59_init(NULL/*8*/, 0, 0x0074, NVRAM_SIZE, 59);
initrd_size = 0; initrd_size = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册