patch-2.1.9 linux/include/asm-sparc/kbio.h

Next file: linux/include/asm-sparc/kdebug.h
Previous file: linux/include/asm-sparc/irq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.8/linux/include/asm-sparc/kbio.h linux/include/asm-sparc/kbio.h
@@ -26,6 +26,12 @@
 /* Set routing of keystrokes to /dev/kbd */
 #define KIOCSDIRECT _IOW('k', 10, int)
 
+/* Set keyboard leds */
+#define KIOCSLED    _IOW('k', 14, unsigned char)
+
+/* Get keyboard leds */
+#define KIOCGLED    _IOR('k', 15, unsigned char)
+
 /* Top bit records if the key is up or down */
 #define KBD_UP      0x80
 
@@ -34,4 +40,5 @@
 
 /* All keys up */
 #define KBD_IDLE    0x75
+
 #endif /* __LINUX_KBIO_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov