aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/serio.h
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-10-19 15:19:19 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-10-19 15:19:19 -0400
commite05dacd71db0a5da7c1a44bcaab2a8a240b9c233 (patch)
tree31382cf1c7d62c03126448affb2fc86e8c4aaa8b /include/uapi/linux/serio.h
parent3ab0b83bf6a1e834f4b884150d8012990c75d25d (diff)
parentddffeb8c4d0331609ef2581d84de4d763607bd37 (diff)
Merge commit 'v3.7-rc1' into stable/for-linus-3.7
* commit 'v3.7-rc1': (10892 commits) Linux 3.7-rc1 x86, boot: Explicitly include autoconf.h for hostprogs perf: Fix UAPI fallout ARM: config: make sure that platforms are ordered by option string ARM: config: sort select statements alphanumerically UAPI: (Scripted) Disintegrate include/linux/byteorder UAPI: (Scripted) Disintegrate include/linux UAPI: Unexport linux/blk_types.h UAPI: Unexport part of linux/ppp-comp.h perf: Handle new rbtree implementation procfs: don't need a PATH_MAX allocation to hold a string representation of an int vfs: embed struct filename inside of names_cache allocation if possible audit: make audit_inode take struct filename vfs: make path_openat take a struct filename pointer vfs: turn do_path_lookup into wrapper around struct filename variant audit: allow audit code to satisfy getname requests from its names_list vfs: define struct filename and have getname() return it btrfs: Fix compilation with user namespace support enabled userns: Fix posix_acl_file_xattr_userns gid conversion userns: Properly print bluetooth socket uids ...
Diffstat (limited to 'include/uapi/linux/serio.h')
-rw-r--r--include/uapi/linux/serio.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/include/uapi/linux/serio.h b/include/uapi/linux/serio.h
new file mode 100644
index 000000000000..9f53fa7fc132
--- /dev/null
+++ b/include/uapi/linux/serio.h
@@ -0,0 +1,80 @@
1/*
2 * Copyright (C) 1999-2002 Vojtech Pavlik
3*
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
7 */
8#ifndef _UAPI_SERIO_H
9#define _UAPI_SERIO_H
10
11
12#include <linux/ioctl.h>
13
14#define SPIOCSTYPE _IOW('q', 0x01, unsigned long)
15
16
17/*
18 * bit masks for use in "interrupt" flags (3rd argument)
19 */
20#define SERIO_TIMEOUT 1
21#define SERIO_PARITY 2
22#define SERIO_FRAME 4
23
24/*
25 * Serio types
26 */
27#define SERIO_XT 0x00
28#define SERIO_8042 0x01
29#define SERIO_RS232 0x02
30#define SERIO_HIL_MLC 0x03
31#define SERIO_PS_PSTHRU 0x05
32#define SERIO_8042_XL 0x06
33
34/*
35 * Serio protocols
36 */
37#define SERIO_UNKNOWN 0x00
38#define SERIO_MSC 0x01
39#define SERIO_SUN 0x02
40#define SERIO_MS 0x03
41#define SERIO_MP 0x04
42#define SERIO_MZ 0x05
43#define SERIO_MZP 0x06
44#define SERIO_MZPP 0x07
45#define SERIO_VSXXXAA 0x08
46#define SERIO_SUNKBD 0x10
47#define SERIO_WARRIOR 0x18
48#define SERIO_SPACEORB 0x19
49#define SERIO_MAGELLAN 0x1a
50#define SERIO_SPACEBALL 0x1b
51#define SERIO_GUNZE 0x1c
52#define SERIO_IFORCE 0x1d
53#define SERIO_STINGER 0x1e
54#define SERIO_NEWTON 0x1f
55#define SERIO_STOWAWAY 0x20
56#define SERIO_H3600 0x21
57#define SERIO_PS2SER 0x22
58#define SERIO_TWIDKBD 0x23
59#define SERIO_TWIDJOY 0x24
60#define SERIO_HIL 0x25
61#define SERIO_SNES232 0x26
62#define SERIO_SEMTECH 0x27
63#define SERIO_LKKBD 0x28
64#define SERIO_ELO 0x29
65#define SERIO_MICROTOUCH 0x30
66#define SERIO_PENMOUNT 0x31
67#define SERIO_TOUCHRIGHT 0x32
68#define SERIO_TOUCHWIN 0x33
69#define SERIO_TAOSEVM 0x34
70#define SERIO_FUJITSU 0x35
71#define SERIO_ZHENHUA 0x36
72#define SERIO_INEXIO 0x37
73#define SERIO_TOUCHIT213 0x38
74#define SERIO_W8001 0x39
75#define SERIO_DYNAPRO 0x3a
76#define SERIO_HAMPSHIRE 0x3b
77#define SERIO_PS2MULT 0x3c
78#define SERIO_TSC40 0x3d
79
80#endif /* _UAPI_SERIO_H */