aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/i8042.h
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2007-10-22 00:56:52 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2007-10-22 00:56:52 -0400
commit553a05b8821f5a6bc633e97187933e2157b2d291 (patch)
tree3cf41f6f91986a366af76b0c6c3c06ccb837177f /drivers/input/serio/i8042.h
parent82ba56c273911f7eda79849cfa0fc2d2e5a3b75b (diff)
Input: i8042 - export i8042_command()
Export the i8042_command() function which manages the mutual exclusion with the help of the i8042_lock spinlock. This allows to access i8042 safely from other parts of the kernel. Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/serio/i8042.h')
-rw-r--r--drivers/input/serio/i8042.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/input/serio/i8042.h b/drivers/input/serio/i8042.h
index b3eb7a72d961..dd22d91f8b39 100644
--- a/drivers/input/serio/i8042.h
+++ b/drivers/input/serio/i8042.h
@@ -61,28 +61,6 @@
61#define I8042_CTR_XLATE 0x40 61#define I8042_CTR_XLATE 0x40
62 62
63/* 63/*
64 * Commands.
65 */
66
67#define I8042_CMD_CTL_RCTR 0x0120
68#define I8042_CMD_CTL_WCTR 0x1060
69#define I8042_CMD_CTL_TEST 0x01aa
70
71#define I8042_CMD_KBD_DISABLE 0x00ad
72#define I8042_CMD_KBD_ENABLE 0x00ae
73#define I8042_CMD_KBD_TEST 0x01ab
74#define I8042_CMD_KBD_LOOP 0x11d2
75
76#define I8042_CMD_AUX_DISABLE 0x00a7
77#define I8042_CMD_AUX_ENABLE 0x00a8
78#define I8042_CMD_AUX_TEST 0x01a9
79#define I8042_CMD_AUX_SEND 0x10d4
80#define I8042_CMD_AUX_LOOP 0x11d3
81
82#define I8042_CMD_MUX_PFX 0x0090
83#define I8042_CMD_MUX_SEND 0x1090
84
85/*
86 * Return codes. 64 * Return codes.
87 */ 65 */
88 66