Index: hw/mips_r4k.c
===================================================================
RCS file: /cvsroot/qemu/qemu/hw/mips_r4k.c,v
retrieving revision 1.33
diff -u -r1.33 mips_r4k.c
--- hw/mips_r4k.c	24 Jan 2007 22:00:13 -0000	1.33
+++ hw/mips_r4k.c	13 Feb 2007 21:24:24 -0000
@@ -126,6 +126,7 @@
                      env->kernel_cmdline, env->initrd_filename);
 }
 
+static
 void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device,
                     DisplayState *ds, const char **fd_filename, int snapshot,
                     const char *kernel_filename, const char *kernel_cmdline,
@@ -212,6 +212,8 @@
     for(i = 0; i < 2; i++)
         isa_ide_init(ide_iobase[i], ide_iobase2[i], ide_irq[i],
                      bs_table[2 * i], bs_table[2 * i + 1]);
+
+    kbd_init();
 }
 
 QEMUMachine mips_machine = {