diff options
| author | Vojtech Pavlik <vojtech@twilight.ucw.cz> | 2002-07-25 03:14:48 +0200 |
|---|---|---|
| committer | Vojtech Pavlik <vojtech@twilight.ucw.cz> | 2002-07-25 03:14:48 +0200 |
| commit | db82e8212151e4ce67253bc067ac162615615ca5 (patch) | |
| tree | 9e223798bd4fb71a50becad9051c90452f1b132d /include | |
| parent | 7306c5f493c5705bd571be77c24b14f9303579e5 (diff) | |
The following patch adds the "resend" capability to the keyboard driver;
when the host driver detects a parity or framing error, we can ask the
keyboard to resend the data, instead of treating random garbage as
valid data.
We also export serio_interrupt() - serio modules are using it, yet you
can't use them as modules without this symbol exported.
-- Russell King
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/serio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/serio.h b/include/linux/serio.h index 37deb0ca7836..ce0359b25fb7 100644 --- a/include/linux/serio.h +++ b/include/linux/serio.h @@ -94,8 +94,12 @@ static __inline__ void serio_dev_write_wakeup(struct serio *serio) serio->dev->write_wakeup(serio); } +/* + * bit masks for use in "interrupt" flags (3rd argument) + */ #define SERIO_TIMEOUT 1 #define SERIO_PARITY 2 +#define SERIO_FRAME 4 #define SERIO_TYPE 0xff000000UL #define SERIO_XT 0x00000000UL |
