patch-2.3.23 linux/include/asm-arm/arch-sa1100/keyboard.h

Next file: linux/include/asm-arm/arch-sa1100/memory.h
Previous file: linux/include/asm-arm/arch-sa1100/irqs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/include/asm-arm/arch-sa1100/keyboard.h linux/include/asm-arm/arch-sa1100/keyboard.h
@@ -0,0 +1,27 @@
+/*
+ * linux/include/asm-arm/arch-sa1100/keyboard.h
+ *
+ * Keyboard driver definitions for SA1100 architecture
+ *
+ * This really has to be cleaned up somehow...
+ * 
+ */
+
+#define KEYBOARD_IRQ 
+
+#define NR_SCANCODES 128
+
+#define kbd_setkeycode(sc,kc)  (-EINVAL)
+#define kbd_getkeycode(sc)     (-EINVAL)
+#define kbd_pretranslate(sc,kc)       1
+#define kbd_translate(sc, kcp, raw)   kbd_drv_translate(sc, kcp, raw)
+#define kbd_init_hw()	kbd_drv_init()
+#define kbd_unexpected_up		
+
+#define kbd_leds(leds)	
+
+#define kbd_sysrq_xlate			
+#define kbd_disable_irq()
+#define kbd_enable_irq()
+
+#define SYSRQ_KEY	0x54

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