diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /include/linux/termios.h | |
parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) |
Diffstat (limited to 'include/linux/termios.h')
-rw-r--r-- | include/linux/termios.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/termios.h b/include/linux/termios.h new file mode 100644 index 00000000000..2acd0c1f8a2 --- /dev/null +++ b/include/linux/termios.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef _LINUX_TERMIOS_H | ||
2 | #define _LINUX_TERMIOS_H | ||
3 | |||
4 | #include <linux/types.h> | ||
5 | #include <asm/termios.h> | ||
6 | |||
7 | #define NFF 5 | ||
8 | |||
9 | struct termiox | ||
10 | { | ||
11 | __u16 x_hflag; | ||
12 | __u16 x_cflag; | ||
13 | __u16 x_rflag[NFF]; | ||
14 | __u16 x_sflag; | ||
15 | }; | ||
16 | |||
17 | #define RTSXOFF 0x0001 /* RTS flow control on input */ | ||
18 | #define CTSXON 0x0002 /* CTS flow control on output */ | ||
19 | #define DTRXOFF 0x0004 /* DTR flow control on input */ | ||
20 | #define DSRXON 0x0008 /* DCD flow control on output */ | ||
21 | |||
22 | #endif | ||