thinkpad-acpi: name event constants
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / i8042.h
blob7907a72403eeddbfa8612ac492598bf811bcf9d4
1 #ifndef _LINUX_I8042_H
2 #define _LINUX_I8042_H
4 /*
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 */
12 * Standard commands.
15 #define I8042_CMD_CTL_RCTR 0x0120
16 #define I8042_CMD_CTL_WCTR 0x1060
17 #define I8042_CMD_CTL_TEST 0x01aa
19 #define I8042_CMD_KBD_DISABLE 0x00ad
20 #define I8042_CMD_KBD_ENABLE 0x00ae
21 #define I8042_CMD_KBD_TEST 0x01ab
22 #define I8042_CMD_KBD_LOOP 0x11d2
24 #define I8042_CMD_AUX_DISABLE 0x00a7
25 #define I8042_CMD_AUX_ENABLE 0x00a8
26 #define I8042_CMD_AUX_TEST 0x01a9
27 #define I8042_CMD_AUX_SEND 0x10d4
28 #define I8042_CMD_AUX_LOOP 0x11d3
30 #define I8042_CMD_MUX_PFX 0x0090
31 #define I8042_CMD_MUX_SEND 0x1090
33 int i8042_command(unsigned char *param, int command);
35 #endif