Index: arch/mips/config.in =================================================================== RCS file: /cvs/linux/arch/mips/config.in,v retrieving revision 1.154.2.9 diff -u -r1.154.2.9 config.in --- arch/mips/config.in 2002/01/07 03:33:54 1.154.2.9 +++ arch/mips/config.in 2002/01/17 12:00:53 @@ -149,6 +149,7 @@ define_bool CONFIG_NEW_IRQ y define_bool CONFIG_NONCOHERENT_IO y define_bool CONFIG_SWAP_IO_SPACE y + define_bool CONFIG_PC_KEYB y fi if [ "$CONFIG_MOMENCO_OCELOT" = "y" ]; then define_bool CONFIG_PCI y Index: arch/mips/mips-boards/malta/malta_setup.c =================================================================== RCS file: /cvs/linux/arch/mips/mips-boards/malta/malta_setup.c,v retrieving revision 1.7.2.1 diff -u -r1.7.2.1 malta_setup.c --- arch/mips/mips-boards/malta/malta_setup.c 2001/12/12 13:45:58 1.7.2.1 +++ arch/mips/mips-boards/malta/malta_setup.c 2002/01/17 12:00:54 @@ -36,6 +36,12 @@ #include #endif #include +#ifdef CONFIG_PC_KEYB +#include +#endif +#ifdef CONFIG_VT +#include +#endif #if defined(CONFIG_SERIAL_CONSOLE) || defined(CONFIG_PROM_CONSOLE) extern void console_setup(char *, int *); @@ -136,6 +142,26 @@ #endif #ifdef CONFIG_PC_KEYB kbd_ops = &std_kbd_ops; +#endif + +#ifdef CONFIG_VT +#if defined(CONFIG_VGA_CONSOLE) + conswitchp = &vga_con; + + screen_info = (struct screen_info) { + 0, 25, /* orig-x, orig-y */ + 0, /* unused */ + 0, /* orig-video-page */ + 0, /* orig-video-mode */ + 80, /* orig-video-cols */ + 0,0,0, /* ega_ax, ega_bx, ega_cx */ + 25, /* orig-video-lines */ + 1, /* orig-video-isVGA */ + 16 /* orig-video-points */ + }; +#elif defined(CONFIG_DUMMY_CONSOLE) + conswitchp = &dummy_con; +#endif #endif mips_reboot_setup(); }