patch-2.4.26 linux-2.4.26/include/asm-m68k/keyboard.h
Next file: linux-2.4.26/include/asm-ppc/cpm2.h
Previous file: linux-2.4.26/include/asm-ia64/user.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
2004-04-14 06:05:40.000000000 -0700
- Orig file:
linux-2.4.25/include/asm-m68k/keyboard.h
- Orig date:
2001-08-12 11:13:59.000000000 -0700
diff -urN linux-2.4.25/include/asm-m68k/keyboard.h linux-2.4.26/include/asm-m68k/keyboard.h
@@ -65,6 +65,11 @@
#define kbd_request_region()
#define kbd_request_irq(handler)
+/* How to access the keyboard macros on this platform. */
+#define kbd_read_input() in_8(KBD_DATA_REG)
+#define kbd_read_status() in_8(KBD_STATUS_REG)
+#define kbd_write_output(val) out_8(KBD_DATA_REG, val)
+#define kbd_write_command(val) out_8(KBD_CNTL_REG, val)
extern unsigned int SYSRQ_KEY;
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)