diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-09-06 23:23:44 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-09-06 23:23:44 -0400 |
commit | 07176b988ebb20f46a317a60ee1d983fe1630203 (patch) | |
tree | e54affb1f823742078c68d9506e6035016bc2ea4 /include | |
parent | fa46c7984092f3dbdbb3bcd7338d81a1168d9d2b (diff) | |
parent | 52764fed5049655926bcecaefd52f0a415ceb105 (diff) |
Merge branch 'next' into for-linus
Merge first round of changes for 3.12 merge window.
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i8042.h | 24 | ||||
-rw-r--r-- | include/uapi/linux/input.h | 2 |
2 files changed, 26 insertions, 0 deletions
diff --git a/include/linux/i8042.h b/include/linux/i8042.h index a986ff588944..0f9bafa17a02 100644 --- a/include/linux/i8042.h +++ b/include/linux/i8042.h | |||
@@ -31,6 +31,30 @@ | |||
31 | #define I8042_CMD_MUX_PFX 0x0090 | 31 | #define I8042_CMD_MUX_PFX 0x0090 |
32 | #define I8042_CMD_MUX_SEND 0x1090 | 32 | #define I8042_CMD_MUX_SEND 0x1090 |
33 | 33 | ||
34 | /* | ||
35 | * Status register bits. | ||
36 | */ | ||
37 | |||
38 | #define I8042_STR_PARITY 0x80 | ||
39 | #define I8042_STR_TIMEOUT 0x40 | ||
40 | #define I8042_STR_AUXDATA 0x20 | ||
41 | #define I8042_STR_KEYLOCK 0x10 | ||
42 | #define I8042_STR_CMDDAT 0x08 | ||
43 | #define I8042_STR_MUXERR 0x04 | ||
44 | #define I8042_STR_IBF 0x02 | ||
45 | #define I8042_STR_OBF 0x01 | ||
46 | |||
47 | /* | ||
48 | * Control register bits. | ||
49 | */ | ||
50 | |||
51 | #define I8042_CTR_KBDINT 0x01 | ||
52 | #define I8042_CTR_AUXINT 0x02 | ||
53 | #define I8042_CTR_IGNKEYLOCK 0x08 | ||
54 | #define I8042_CTR_KBDDIS 0x10 | ||
55 | #define I8042_CTR_AUXDIS 0x20 | ||
56 | #define I8042_CTR_XLATE 0x40 | ||
57 | |||
34 | struct serio; | 58 | struct serio; |
35 | 59 | ||
36 | #if defined(CONFIG_SERIO_I8042) || defined(CONFIG_SERIO_I8042_MODULE) | 60 | #if defined(CONFIG_SERIO_I8042) || defined(CONFIG_SERIO_I8042_MODULE) |
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index 4649ee35b605..2fb6fae50e90 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h | |||
@@ -194,6 +194,8 @@ struct input_keymap_entry { | |||
194 | #define SYN_CONFIG 1 | 194 | #define SYN_CONFIG 1 |
195 | #define SYN_MT_REPORT 2 | 195 | #define SYN_MT_REPORT 2 |
196 | #define SYN_DROPPED 3 | 196 | #define SYN_DROPPED 3 |
197 | #define SYN_MAX 0xf | ||
198 | #define SYN_CNT (SYN_MAX+1) | ||
197 | 199 | ||
198 | /* | 200 | /* |
199 | * Keys and buttons | 201 | * Keys and buttons |