diff options
Diffstat (limited to 'drivers/input/mouse/psmouse.h')
-rw-r--r-- | drivers/input/mouse/psmouse.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/mouse/psmouse.h b/drivers/input/mouse/psmouse.h index 9b84b0c4e371..6a417092d010 100644 --- a/drivers/input/mouse/psmouse.h +++ b/drivers/input/mouse/psmouse.h | |||
@@ -8,6 +8,7 @@ | |||
8 | #define PSMOUSE_CMD_SETSTREAM 0x00ea | 8 | #define PSMOUSE_CMD_SETSTREAM 0x00ea |
9 | #define PSMOUSE_CMD_SETPOLL 0x00f0 | 9 | #define PSMOUSE_CMD_SETPOLL 0x00f0 |
10 | #define PSMOUSE_CMD_POLL 0x00eb /* caller sets number of bytes to receive */ | 10 | #define PSMOUSE_CMD_POLL 0x00eb /* caller sets number of bytes to receive */ |
11 | #define PSMOUSE_CMD_RESET_WRAP 0x00ec | ||
11 | #define PSMOUSE_CMD_GETID 0x02f2 | 12 | #define PSMOUSE_CMD_GETID 0x02f2 |
12 | #define PSMOUSE_CMD_SETRATE 0x10f3 | 13 | #define PSMOUSE_CMD_SETRATE 0x10f3 |
13 | #define PSMOUSE_CMD_ENABLE 0x00f4 | 14 | #define PSMOUSE_CMD_ENABLE 0x00f4 |
@@ -93,6 +94,7 @@ enum psmouse_type { | |||
93 | PSMOUSE_HGPK, | 94 | PSMOUSE_HGPK, |
94 | PSMOUSE_ELANTECH, | 95 | PSMOUSE_ELANTECH, |
95 | PSMOUSE_FSP, | 96 | PSMOUSE_FSP, |
97 | PSMOUSE_SYNAPTICS_RELATIVE, | ||
96 | PSMOUSE_AUTO /* This one should always be last */ | 98 | PSMOUSE_AUTO /* This one should always be last */ |
97 | }; | 99 | }; |
98 | 100 | ||
@@ -102,6 +104,7 @@ int psmouse_sliced_command(struct psmouse *psmouse, unsigned char command); | |||
102 | int psmouse_reset(struct psmouse *psmouse); | 104 | int psmouse_reset(struct psmouse *psmouse); |
103 | void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state); | 105 | void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state); |
104 | void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution); | 106 | void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution); |
107 | psmouse_ret_t psmouse_process_byte(struct psmouse *psmouse); | ||
105 | 108 | ||
106 | struct psmouse_attribute { | 109 | struct psmouse_attribute { |
107 | struct device_attribute dattr; | 110 | struct device_attribute dattr; |