From 5ffede5ab53ed46d1fe59f902062ba06bde59bbd Mon Sep 17 00:00:00 2001 From: Harald Koerfgen Date: Sat, 30 Dec 2000 15:55:57 +0000 Subject: LK201 keyboard and PMAG-BA framebuffer driver for DECstations --- include/asm-mips/keyboard.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include/asm-mips') diff --git a/include/asm-mips/keyboard.h b/include/asm-mips/keyboard.h index 303f98958..7bd351a4c 100644 --- a/include/asm-mips/keyboard.h +++ b/include/asm-mips/keyboard.h @@ -13,10 +13,13 @@ #include #include +#include #include #define DISABLE_KBD_DURING_INTERRUPTS 0 +#ifdef CONFIG_PC_KEYB + extern int pckbd_setkeycode(unsigned int scancode, unsigned int keycode); extern int pckbd_getkeycode(unsigned int scancode); extern int pckbd_translate(unsigned char scancode, unsigned char *keycode, @@ -35,6 +38,18 @@ extern void kbd_forward_char (int ch); #define kbd_init_hw pckbd_init_hw #define kbd_sysrq_xlate pckbd_sysrq_xlate +#else + +extern int kbd_setkeycode(unsigned int scancode, unsigned int keycode); +extern int kbd_getkeycode(unsigned int scancode); +extern int kbd_translate(unsigned char scancode, unsigned char *keycode, + char raw_mode); +extern char kbd_unexpected_up(unsigned char keycode); +extern void kbd_leds(unsigned char leds); +extern void kbd_init_hw(void); + +#endif + #define SYSRQ_KEY 0x54 /* Some stoneage hardware needs delays after some operations. */ -- cgit v1.2.3