diff options
Diffstat (limited to 'include/asm-powerpc/termbits.h')
-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 6d533b0..b572f21 100644 --- a/include/asm-powerpc/termbits.h +++ b/include/asm-powerpc/termbits.h @@ -30,6 +30,19 @@ struct termios { speed_t c_ospeed; /* output speed */ }; +/* For PowerPC the termios and ktermios are the same */ + +struct ktermios { + tcflag_t c_iflag; /* input mode flags */ + tcflag_t c_oflag; /* output mode flags */ + tcflag_t c_cflag; /* control mode flags */ + tcflag_t c_lflag; /* local mode flags */ + cc_t c_line; /* line discipline */ + cc_t c_cc[NCCS]; /* control characters */ + speed_t c_ispeed; /* input speed */ + speed_t c_ospeed; /* output speed */ +}; + /* c_cc characters */ #define VINTR 0 #define VQUIT 1 |