patch-2.4.22 linux-2.4.22/include/asm-arm/arch-riscstation/keyboard.h
Next file: linux-2.4.22/include/asm-arm/arch-riscstation/memory.h
Previous file: linux-2.4.22/include/asm-arm/arch-riscstation/irqs.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-arm/arch-riscstation/keyboard.h
- Orig date:
1969-12-31 16:00:00.000000000 -0800
diff -urN linux-2.4.21/include/asm-arm/arch-riscstation/keyboard.h linux-2.4.22/include/asm-arm/arch-riscstation/keyboard.h
@@ -0,0 +1,20 @@
+/*
+ * linux/include/asm-arm/arch-rpc/keyboard.h
+ *
+ * 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
+ * published by the Free Software Foundation.
+ *
+ * Keyboard driver definitions for RiscPC architecture
+ */
+#include <asm/irq.h>
+
+#define NR_SCANCODES 128
+
+extern int ps2kbd_init_hw(void);
+
+#define kbd_disable_irq() disable_irq(IRQ_KEYBOARDRX)
+#define kbd_enable_irq() enable_irq(IRQ_KEYBOARDRX)
+#define kbd_init_hw() ps2kbd_init_hw()
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)