summaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 4cfd4a82fc31..fd4148d3a261 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -252,6 +252,7 @@ struct tty_struct {
252 struct rw_semaphore termios_rwsem; 252 struct rw_semaphore termios_rwsem;
253 struct mutex winsize_mutex; 253 struct mutex winsize_mutex;
254 spinlock_t ctrl_lock; 254 spinlock_t ctrl_lock;
255 spinlock_t flow_lock;
255 /* Termios values are protected by the termios rwsem */ 256 /* Termios values are protected by the termios rwsem */
256 struct ktermios termios, termios_locked; 257 struct ktermios termios, termios_locked;
257 struct termiox *termiox; /* May be NULL for unsupported */ 258 struct termiox *termiox; /* May be NULL for unsupported */
@@ -261,7 +262,7 @@ struct tty_struct {
261 unsigned long flags; 262 unsigned long flags;
262 int count; 263 int count;
263 struct winsize winsize; /* winsize_mutex */ 264 struct winsize winsize; /* winsize_mutex */
264 int stopped; 265 int stopped; /* flow_lock */
265 int flow_stopped; 266 int flow_stopped;
266 int hw_stopped; 267 int hw_stopped;
267 int packet; 268 int packet;
@@ -400,7 +401,9 @@ extern int tty_paranoia_check(struct tty_struct *tty, struct inode *inode,
400extern char *tty_name(struct tty_struct *tty, char *buf); 401extern char *tty_name(struct tty_struct *tty, char *buf);
401extern void tty_wait_until_sent(struct tty_struct *tty, long timeout); 402extern void tty_wait_until_sent(struct tty_struct *tty, long timeout);
402extern int tty_check_change(struct tty_struct *tty); 403extern int tty_check_change(struct tty_struct *tty);
404extern void __stop_tty(struct tty_struct *tty);
403extern void stop_tty(struct tty_struct *tty); 405extern void stop_tty(struct tty_struct *tty);
406extern void __start_tty(struct tty_struct *tty);
404extern void start_tty(struct tty_struct *tty); 407extern void start_tty(struct tty_struct *tty);
405extern int tty_register_driver(struct tty_driver *driver); 408extern int tty_register_driver(struct tty_driver *driver);
406extern int tty_unregister_driver(struct tty_driver *driver); 409extern int tty_unregister_driver(struct tty_driver *driver);