diff options
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 60478f6e5dc6..56164d7ba0ad 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -81,11 +81,6 @@ struct tty_bufhead { | |||
81 | int memory_used; /* Buffer space used excluding free queue */ | 81 | int memory_used; /* Buffer space used excluding free queue */ |
82 | }; | 82 | }; |
83 | /* | 83 | /* |
84 | * The pty uses char_buf and flag_buf as a contiguous buffer | ||
85 | */ | ||
86 | #define PTY_BUF_SIZE 4*TTY_FLIPBUF_SIZE | ||
87 | |||
88 | /* | ||
89 | * When a break, frame error, or parity error happens, these codes are | 84 | * When a break, frame error, or parity error happens, these codes are |
90 | * stuffed into the flags buffer. | 85 | * stuffed into the flags buffer. |
91 | */ | 86 | */ |
@@ -321,6 +316,9 @@ extern void tty_flip_buffer_push(struct tty_struct *tty); | |||
321 | extern speed_t tty_get_baud_rate(struct tty_struct *tty); | 316 | extern speed_t tty_get_baud_rate(struct tty_struct *tty); |
322 | extern speed_t tty_termios_baud_rate(struct ktermios *termios); | 317 | extern speed_t tty_termios_baud_rate(struct ktermios *termios); |
323 | extern speed_t tty_termios_input_baud_rate(struct ktermios *termios); | 318 | extern speed_t tty_termios_input_baud_rate(struct ktermios *termios); |
319 | extern void tty_termios_encode_baud_rate(struct ktermios *termios, speed_t ibaud, speed_t obaud); | ||
320 | extern void tty_encode_baud_rate(struct tty_struct *tty, speed_t ibaud, speed_t obaud); | ||
321 | extern void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old); | ||
324 | 322 | ||
325 | extern struct tty_ldisc *tty_ldisc_ref(struct tty_struct *); | 323 | extern struct tty_ldisc *tty_ldisc_ref(struct tty_struct *); |
326 | extern void tty_ldisc_deref(struct tty_ldisc *); | 324 | extern void tty_ldisc_deref(struct tty_ldisc *); |