diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-04-29 21:13:14 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1997-04-29 21:13:14 +0000 |
commit | 19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch) | |
tree | 40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/asm-sparc/kbio.h | |
parent | 7206675c40394c78a90e74812bbdbf8cf3cca1be (diff) |
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/asm-sparc/kbio.h')
-rw-r--r-- | include/asm-sparc/kbio.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-sparc/kbio.h b/include/asm-sparc/kbio.h index 7382d396f..3cf496bdf 100644 --- a/include/asm-sparc/kbio.h +++ b/include/asm-sparc/kbio.h @@ -32,6 +32,18 @@ enum { /* Get keyboard leds */ #define KIOCGLED _IOR('k', 15, unsigned char) +/* Used by KIOC[GS]RATE */ +struct kbd_rate { + unsigned char delay; /* Delay in Hz before first repeat. */ + unsigned char rate; /* In characters per second (0..50). */ +}; + +/* Set keyboard rate */ +#define KIOCSRATE _IOW('k', 40, struct kbd_rate) + +/* Get keyboard rate */ +#define KIOCGRATE _IOW('k', 41, struct kbd_rate) + /* Top bit records if the key is up or down */ #define KBD_UP 0x80 |