blob: 5c7c3a8c8abe5dd7e06baee94e96c7e24f715629 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _SERIO_H
20#define _SERIO_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#include <linux/ioctl.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022#define SPIOCSTYPE _IOW('q', 0x01, unsigned long)
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#define SERIO_TIMEOUT 1
25#define SERIO_PARITY 2
26#define SERIO_FRAME 4
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080027#define SERIO_XT 0x00
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029#define SERIO_8042 0x01
30#define SERIO_RS232 0x02
31#define SERIO_HIL_MLC 0x03
32#define SERIO_PS_PSTHRU 0x05
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034#define SERIO_8042_XL 0x06
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080035#define SERIO_UNKNOWN 0x00
36#define SERIO_MSC 0x01
37#define SERIO_SUN 0x02
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039#define SERIO_MS 0x03
40#define SERIO_MP 0x04
41#define SERIO_MZ 0x05
42#define SERIO_MZP 0x06
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044#define SERIO_MZPP 0x07
45#define SERIO_VSXXXAA 0x08
46#define SERIO_SUNKBD 0x10
47#define SERIO_WARRIOR 0x18
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#define SERIO_SPACEORB 0x19
50#define SERIO_MAGELLAN 0x1a
51#define SERIO_SPACEBALL 0x1b
52#define SERIO_GUNZE 0x1c
Ben Cheng654325d2012-03-07 21:13:49 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080054#define SERIO_IFORCE 0x1d
55#define SERIO_STINGER 0x1e
56#define SERIO_NEWTON 0x1f
57#define SERIO_STOWAWAY 0x20
Ben Cheng654325d2012-03-07 21:13:49 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080059#define SERIO_H3600 0x21
60#define SERIO_PS2SER 0x22
61#define SERIO_TWIDKBD 0x23
62#define SERIO_TWIDJOY 0x24
Ben Cheng654325d2012-03-07 21:13:49 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080064#define SERIO_HIL 0x25
65#define SERIO_SNES232 0x26
66#define SERIO_SEMTECH 0x27
67#define SERIO_LKKBD 0x28
Ben Cheng654325d2012-03-07 21:13:49 -080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080069#define SERIO_ELO 0x29
70#define SERIO_MICROTOUCH 0x30
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080071#endif