diff options
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/termbits.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-powerpc/termbits.h b/include/asm-powerpc/termbits.h index 6d533b07aaf5..b572f21b32c4 100644 --- a/include/asm-powerpc/termbits.h +++ b/include/asm-powerpc/termbits.h | |||
@@ -30,6 +30,19 @@ struct termios { | |||
30 | speed_t c_ospeed; /* output speed */ | 30 | speed_t c_ospeed; /* output speed */ |
31 | }; | 31 | }; |
32 | 32 | ||
33 | /* For PowerPC the termios and ktermios are the same */ | ||
34 | |||
35 | struct ktermios { | ||
36 | tcflag_t c_iflag; /* input mode flags */ | ||
37 | tcflag_t c_oflag; /* output mode flags */ | ||
38 | tcflag_t c_cflag; /* control mode flags */ | ||
39 | tcflag_t c_lflag; /* local mode flags */ | ||
40 | cc_t c_line; /* line discipline */ | ||
41 | cc_t c_cc[NCCS]; /* control characters */ | ||
42 | speed_t c_ispeed; /* input speed */ | ||
43 | speed_t c_ospeed; /* output speed */ | ||
44 | }; | ||
45 | |||
33 | /* c_cc characters */ | 46 | /* c_cc characters */ |
34 | #define VINTR 0 | 47 | #define VINTR 0 |
35 | #define VQUIT 1 | 48 | #define VQUIT 1 |