| [2] | 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 | /* |
|---|
| 24 | * Serio types |
|---|
| 25 | */ |
|---|
| 26 | #define SERIO_XT 0x00 |
|---|
| 27 | #define SERIO_8042 0x01 |
|---|
| 28 | #define SERIO_RS232 0x02 |
|---|
| 29 | #define SERIO_HIL_MLC 0x03 |
|---|
| 30 | #define SERIO_PS_PSTHRU 0x05 |
|---|
| 31 | #define SERIO_8042_XL 0x06 |
|---|
| 32 | |
|---|
| 33 | /* |
|---|
| 34 | * Serio types |
|---|
| 35 | */ |
|---|
| 36 | #define SERIO_UNKNOWN 0x00 |
|---|
| 37 | #define SERIO_MSC 0x01 |
|---|
| 38 | #define SERIO_SUN 0x02 |
|---|
| 39 | #define SERIO_MS 0x03 |
|---|
| 40 | #define SERIO_MP 0x04 |
|---|
| 41 | #define SERIO_MZ 0x05 |
|---|
| 42 | #define SERIO_MZP 0x06 |
|---|
| 43 | #define SERIO_MZPP 0x07 |
|---|
| 44 | #define SERIO_VSXXXAA 0x08 |
|---|
| 45 | #define SERIO_SUNKBD 0x10 |
|---|
| 46 | #define SERIO_WARRIOR 0x18 |
|---|
| 47 | #define SERIO_SPACEORB 0x19 |
|---|
| 48 | #define SERIO_MAGELLAN 0x1a |
|---|
| 49 | #define SERIO_SPACEBALL 0x1b |
|---|
| 50 | #define SERIO_GUNZE 0x1c |
|---|
| 51 | #define SERIO_IFORCE 0x1d |
|---|
| 52 | #define SERIO_STINGER 0x1e |
|---|
| 53 | #define SERIO_NEWTON 0x1f |
|---|
| 54 | #define SERIO_STOWAWAY 0x20 |
|---|
| 55 | #define SERIO_H3600 0x21 |
|---|
| 56 | #define SERIO_PS2SER 0x22 |
|---|
| 57 | #define SERIO_TWIDKBD 0x23 |
|---|
| 58 | #define SERIO_TWIDJOY 0x24 |
|---|
| 59 | #define SERIO_HIL 0x25 |
|---|
| 60 | #define SERIO_SNES232 0x26 |
|---|
| 61 | #define SERIO_SEMTECH 0x27 |
|---|
| 62 | #define SERIO_LKKBD 0x28 |
|---|
| 63 | #define SERIO_ELO 0x29 |
|---|
| 64 | #define SERIO_MICROTOUCH 0x30 |
|---|
| 65 | |
|---|
| 66 | #endif |
|---|