aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serio.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-13 05:46:48 -0400
committerDavid Howells <dhowells@redhat.com>2012-10-13 05:46:48 -0400
commit607ca46e97a1b6594b29647d98a32d545c24bdff (patch)
tree30f4c0784bfddb57332cdc0678bd06d1e77fa185 /include/linux/serio.h
parent08cce05c5a91f5017f4edc9866cf026908c73f9f (diff)
UAPI: (Scripted) Disintegrate include/linux
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/linux/serio.h')
-rw-r--r--include/linux/serio.h76
1 files changed, 3 insertions, 73 deletions
diff --git a/include/linux/serio.h b/include/linux/serio.h
index 6d6cfd3e94a3..36aac733840a 100644
--- a/include/linux/serio.h
+++ b/include/linux/serio.h
@@ -1,6 +1,3 @@
1#ifndef _SERIO_H
2#define _SERIO_H
3
4/* 1/*
5 * Copyright (C) 1999-2002 Vojtech Pavlik 2 * Copyright (C) 1999-2002 Vojtech Pavlik
6* 3*
@@ -8,12 +5,9 @@
8 * under the terms of the GNU General Public License version 2 as published by 5 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation. 6 * the Free Software Foundation.
10 */ 7 */
8#ifndef _SERIO_H
9#define _SERIO_H
11 10
12#include <linux/ioctl.h>
13
14#define SPIOCSTYPE _IOW('q', 0x01, unsigned long)
15
16#ifdef __KERNEL__
17 11
18#include <linux/types.h> 12#include <linux/types.h>
19#include <linux/interrupt.h> 13#include <linux/interrupt.h>
@@ -22,6 +16,7 @@
22#include <linux/mutex.h> 16#include <linux/mutex.h>
23#include <linux/device.h> 17#include <linux/device.h>
24#include <linux/mod_devicetable.h> 18#include <linux/mod_devicetable.h>
19#include <uapi/linux/serio.h>
25 20
26struct serio { 21struct serio {
27 void *port_data; 22 void *port_data;
@@ -152,68 +147,3 @@ static inline void serio_continue_rx(struct serio *serio)
152} 147}
153 148
154#endif 149#endif
155
156/*
157 * bit masks for use in "interrupt" flags (3rd argument)
158 */
159#define SERIO_TIMEOUT 1
160#define SERIO_PARITY 2
161#define SERIO_FRAME 4
162
163/*
164 * Serio types
165 */
166#define SERIO_XT 0x00
167#define SERIO_8042 0x01
168#define SERIO_RS232 0x02
169#define SERIO_HIL_MLC 0x03
170#define SERIO_PS_PSTHRU 0x05
171#define SERIO_8042_XL 0x06
172
173/*
174 * Serio protocols
175 */
176#define SERIO_UNKNOWN 0x00
177#define SERIO_MSC 0x01
178#define SERIO_SUN 0x02
179#define SERIO_MS 0x03
180#define SERIO_MP 0x04
181#define SERIO_MZ 0x05
182#define SERIO_MZP 0x06
183#define SERIO_MZPP 0x07
184#define SERIO_VSXXXAA 0x08
185#define SERIO_SUNKBD 0x10
186#define SERIO_WARRIOR 0x18
187#define SERIO_SPACEORB 0x19
188#define SERIO_MAGELLAN 0x1a
189#define SERIO_SPACEBALL 0x1b
190#define SERIO_GUNZE 0x1c
191#define SERIO_IFORCE 0x1d
192#define SERIO_STINGER 0x1e
193#define SERIO_NEWTON 0x1f
194#define SERIO_STOWAWAY 0x20
195#define SERIO_H3600 0x21
196#define SERIO_PS2SER 0x22
197#define SERIO_TWIDKBD 0x23
198#define SERIO_TWIDJOY 0x24
199#define SERIO_HIL 0x25
200#define SERIO_SNES232 0x26
201#define SERIO_SEMTECH 0x27
202#define SERIO_LKKBD 0x28
203#define SERIO_ELO 0x29
204#define SERIO_MICROTOUCH 0x30
205#define SERIO_PENMOUNT 0x31
206#define SERIO_TOUCHRIGHT 0x32
207#define SERIO_TOUCHWIN 0x33
208#define SERIO_TAOSEVM 0x34
209#define SERIO_FUJITSU 0x35
210#define SERIO_ZHENHUA 0x36
211#define SERIO_INEXIO 0x37
212#define SERIO_TOUCHIT213 0x38
213#define SERIO_W8001 0x39
214#define SERIO_DYNAPRO 0x3a
215#define SERIO_HAMPSHIRE 0x3b
216#define SERIO_PS2MULT 0x3c
217#define SERIO_TSC40 0x3d
218
219#endif