diff options
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/termbits.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-sparc64/termbits.h b/include/asm-sparc64/termbits.h index b07715273ed4..705cd44b4173 100644 --- a/include/asm-sparc64/termbits.h +++ b/include/asm-sparc64/termbits.h | |||
@@ -33,6 +33,18 @@ struct termios { | |||
33 | #endif | 33 | #endif |
34 | }; | 34 | }; |
35 | 35 | ||
36 | struct ktermios { | ||
37 | tcflag_t c_iflag; /* input mode flags */ | ||
38 | tcflag_t c_oflag; /* output mode flags */ | ||
39 | tcflag_t c_cflag; /* control mode flags */ | ||
40 | tcflag_t c_lflag; /* local mode flags */ | ||
41 | cc_t c_line; /* line discipline */ | ||
42 | cc_t c_cc[NCCS]; /* control characters */ | ||
43 | cc_t _x_cc[2]; /* We need them to hold vmin/vtime */ | ||
44 | speed_t c_ispeed; /* input speed */ | ||
45 | speed_t c_ospeed; /* output speed */ | ||
46 | }; | ||
47 | |||
36 | /* c_cc characters */ | 48 | /* c_cc characters */ |
37 | #define VINTR 0 | 49 | #define VINTR 0 |
38 | #define VQUIT 1 | 50 | #define VQUIT 1 |