]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux-input/serio.h
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux-input / serio.h
1 #ifndef _SERIO_H
2 #define _SERIO_H
3
4 /*
5  * Copyright (C) 1999-2002 Vojtech Pavlik
6 *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License version 2 as published by
9  * the Free Software Foundation.
10  */
11
12 #include <linux/ioctl.h>
13
14 #define SPIOCSTYPE      _IOW('q', 0x01, unsigned long)
15
16 /*
17  * bit masks for use in "interrupt" flags (3rd argument)
18  */
19 #define SERIO_TIMEOUT   1
20 #define SERIO_PARITY    2
21 #define SERIO_FRAME     4
22
23 #define SERIO_TYPE      0xff000000UL
24 #define SERIO_XT        0x00000000UL
25 #define SERIO_8042      0x01000000UL
26 #define SERIO_RS232     0x02000000UL
27 #define SERIO_HIL_MLC   0x03000000UL
28 #define SERIO_PS_PSTHRU 0x05000000UL
29 #define SERIO_8042_XL   0x06000000UL
30
31 #define SERIO_PROTO     0xFFUL
32 #define SERIO_MSC       0x01
33 #define SERIO_SUN       0x02
34 #define SERIO_MS        0x03
35 #define SERIO_MP        0x04
36 #define SERIO_MZ        0x05
37 #define SERIO_MZP       0x06
38 #define SERIO_MZPP      0x07
39 #define SERIO_VSXXXAA   0x08
40 #define SERIO_SUNKBD    0x10
41 #define SERIO_WARRIOR   0x18
42 #define SERIO_SPACEORB  0x19
43 #define SERIO_MAGELLAN  0x1a
44 #define SERIO_SPACEBALL 0x1b
45 #define SERIO_GUNZE     0x1c
46 #define SERIO_IFORCE    0x1d
47 #define SERIO_STINGER   0x1e
48 #define SERIO_NEWTON    0x1f
49 #define SERIO_STOWAWAY  0x20
50 #define SERIO_H3600     0x21
51 #define SERIO_PS2SER    0x22
52 #define SERIO_TWIDKBD   0x23
53 #define SERIO_TWIDJOY   0x24
54 #define SERIO_HIL       0x25
55 #define SERIO_SNES232   0x26
56 #define SERIO_SEMTECH   0x27
57 #define SERIO_LKKBD     0x28
58
59 #define SERIO_ID        0xff00UL
60 #define SERIO_EXTRA     0xff0000UL
61
62 #endif