diff options
Diffstat (limited to 'include/asm-s390')
-rw-r--r-- | include/asm-s390/termbits.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-s390/termbits.h b/include/asm-s390/termbits.h index 585c78a6e407..811b9a9cdc08 100644 --- a/include/asm-s390/termbits.h +++ b/include/asm-s390/termbits.h | |||
@@ -25,6 +25,17 @@ struct termios { | |||
25 | cc_t c_cc[NCCS]; /* control characters */ | 25 | cc_t c_cc[NCCS]; /* control characters */ |
26 | }; | 26 | }; |
27 | 27 | ||
28 | struct termios2 { | ||
29 | tcflag_t c_iflag; /* input mode flags */ | ||
30 | tcflag_t c_oflag; /* output mode flags */ | ||
31 | tcflag_t c_cflag; /* control mode flags */ | ||
32 | tcflag_t c_lflag; /* local mode flags */ | ||
33 | cc_t c_line; /* line discipline */ | ||
34 | cc_t c_cc[NCCS]; /* control characters */ | ||
35 | speed_t c_ispeed; /* input speed */ | ||
36 | speed_t c_ospeed; /* output speed */ | ||
37 | }; | ||
38 | |||
28 | struct ktermios { | 39 | struct ktermios { |
29 | tcflag_t c_iflag; /* input mode flags */ | 40 | tcflag_t c_iflag; /* input mode flags */ |
30 | tcflag_t c_oflag; /* output mode flags */ | 41 | tcflag_t c_oflag; /* output mode flags */ |