patch-2.4.14 linux/include/asm-arm/arch-arc/keyboard.h

Next file: linux/include/asm-arm/arch-cl7500/keyboard.h
Previous file: linux/include/asm-arm/arch-anakin/keyboard.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/include/asm-arm/arch-arc/keyboard.h linux/include/asm-arm/arch-arc/keyboard.h
@@ -1,7 +1,7 @@
 /*
  *  linux/include/asm-arm/arch-arc/keyboard.h
  *
- *  Copyright (C) 1998 Russell King
+ *  Copyright (C) 1998-2001 Russell King
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -10,24 +10,12 @@
  *  Keyboard driver definitions for Acorn Archimedes/A5000
  *  architecture
  */
-
 #include <asm/irq.h>
 
 #define NR_SCANCODES 128
 
-extern void a5kkbd_leds(unsigned char leds);
 extern void a5kkbd_init_hw(void);
-extern unsigned char a5kkbd_sysrq_xlate[NR_SCANCODES];
-
-#define kbd_setkeycode(sc,kc)		(-EINVAL)
-#define kbd_getkeycode(sc)		(-EINVAL)
-
-#define kbd_translate(sc, kcp, rm)	({ *(kcp) = (sc); 1; })
-#define kbd_unexpected_up(kc)		(0200)
-#define kbd_leds(leds)			a5kkbd_leds(leds)
-#define kbd_init_hw()			a5kkbd_init_hw()
-#define kbd_sysrq_xlate			a5kkbd_sysrq_xlate
-#define kbd_disable_irq()		disable_irq(IRQ_KEYBOARDRX)
-#define kbd_enable_irq()		enable_irq(IRQ_KEYBOARDRX)
 
-#define SYSRQ_KEY	13
+#define kbd_disable_irq()	disable_irq(IRQ_KEYBOARDRX)
+#define kbd_enable_irq()	enable_irq(IRQ_KEYBOARDRX)
+#define kbd_init_hw()		a5kkbd_init_hw()

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)