diff options
Diffstat (limited to 'include/asm-cris')
-rw-r--r-- | include/asm-cris/termbits.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-cris/termbits.h b/include/asm-cris/termbits.h index 8d8cec225fe1..6cc2e2736f7b 100644 --- a/include/asm-cris/termbits.h +++ b/include/asm-cris/termbits.h | |||
@@ -19,6 +19,17 @@ struct termios { | |||
19 | cc_t c_cc[NCCS]; /* control characters */ | 19 | cc_t c_cc[NCCS]; /* control characters */ |
20 | }; | 20 | }; |
21 | 21 | ||
22 | struct termios2 { | ||
23 | tcflag_t c_iflag; /* input mode flags */ | ||
24 | tcflag_t c_oflag; /* output mode flags */ | ||
25 | tcflag_t c_cflag; /* control mode flags */ | ||
26 | tcflag_t c_lflag; /* local mode flags */ | ||
27 | cc_t c_line; /* line discipline */ | ||
28 | cc_t c_cc[NCCS]; /* control characters */ | ||
29 | speed_t c_ispeed; /* input speed */ | ||
30 | speed_t c_ospeed; /* output speed */ | ||
31 | }; | ||
32 | |||
22 | struct ktermios { | 33 | struct ktermios { |
23 | tcflag_t c_iflag; /* input mode flags */ | 34 | tcflag_t c_iflag; /* input mode flags */ |
24 | tcflag_t c_oflag; /* output mode flags */ | 35 | tcflag_t c_oflag; /* output mode flags */ |