aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h8
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);
321extern speed_t tty_get_baud_rate(struct tty_struct *tty); 316extern speed_t tty_get_baud_rate(struct tty_struct *tty);
322extern speed_t tty_termios_baud_rate(struct ktermios *termios); 317extern speed_t tty_termios_baud_rate(struct ktermios *termios);
323extern speed_t tty_termios_input_baud_rate(struct ktermios *termios); 318extern speed_t tty_termios_input_baud_rate(struct ktermios *termios);
319extern void tty_termios_encode_baud_rate(struct ktermios *termios, speed_t ibaud, speed_t obaud);
320extern void tty_encode_baud_rate(struct tty_struct *tty, speed_t ibaud, speed_t obaud);
321extern void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old);
324 322
325extern struct tty_ldisc *tty_ldisc_ref(struct tty_struct *); 323extern struct tty_ldisc *tty_ldisc_ref(struct tty_struct *);
326extern void tty_ldisc_deref(struct tty_ldisc *); 324extern void tty_ldisc_deref(struct tty_ldisc *);