summaryrefslogtreecommitdiff
path: root/include/linux/termios.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-11-24 21:54:37 +0300
committerThomas Gleixner <tglx@linutronix.de>2008-11-24 21:54:37 +0300
commit3e1d7a6219ab64e13b10b1a77c0625db9a8bd8db (patch)
treec682da7317845d7b1336e3d8498cf83bdf8f5900 /include/linux/termios.h
parent42569c39917a08e8de1e8b5685463be7b74baebd (diff)
parent13d428afc007fcfcd6deeb215618f54cf9c0cae6 (diff)
downloadlinux-3e1d7a6219ab64e13b10b1a77c0625db9a8bd8db.tar.xz
Merge branch 'linus' into core/futexes
Diffstat (limited to 'include/linux/termios.h')
-rw-r--r--include/linux/termios.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/termios.h b/include/linux/termios.h
index 478662889f48..2acd0c1f8a2a 100644
--- a/include/linux/termios.h
+++ b/include/linux/termios.h
@@ -4,4 +4,19 @@
#include <linux/types.h>
#include <asm/termios.h>
+#define NFF 5
+
+struct termiox
+{
+ __u16 x_hflag;
+ __u16 x_cflag;
+ __u16 x_rflag[NFF];
+ __u16 x_sflag;
+};
+
+#define RTSXOFF 0x0001 /* RTS flow control on input */
+#define CTSXON 0x0002 /* CTS flow control on output */
+#define DTRXOFF 0x0004 /* DTR flow control on input */
+#define DSRXON 0x0008 /* DCD flow control on output */
+
#endif