5 * Copyright (C) 1999-2002 Vojtech Pavlik
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.
12 #include <linux/ioctl.h>
14 #define SPIOCSTYPE _IOW('q', 0x01, unsigned long)
17 * bit masks for use in "interrupt" flags (3rd argument)
19 #define SERIO_TIMEOUT 1
20 #define SERIO_PARITY 2
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
31 #define SERIO_PROTO 0xFFUL
32 #define SERIO_MSC 0x01
33 #define SERIO_SUN 0x02
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
59 #define SERIO_ID 0xff00UL
60 #define SERIO_EXTRA 0xff0000UL