diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-01-04 08:55:13 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-02-14 09:55:03 -0500 |
commit | 4d334fd155b53adfe78393e66850ff4bb0aa8406 (patch) | |
tree | 72ac8f4d428545eb402c73e5b002b2a70e2cef69 /drivers/tty | |
parent | c95571e68086d36e8e3369597b03ec29c63abec9 (diff) |
s390/3270: asynchronous size sensing
Convert the synchronous size sense code to an interrupt driven
approach. This allows to set the device online even if the
terminal is not connected. With the new code views can be
registered without a connected terminal, the tty can be opened
as soon as the device is online. After the terminal has been
connected and the size has been determined the tty is resized
to match the device characteristics..
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/tty_io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index da9fde850754..3f00f9e8daf2 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c | |||
@@ -2203,6 +2203,7 @@ done: | |||
2203 | mutex_unlock(&tty->termios_mutex); | 2203 | mutex_unlock(&tty->termios_mutex); |
2204 | return 0; | 2204 | return 0; |
2205 | } | 2205 | } |
2206 | EXPORT_SYMBOL(tty_do_resize); | ||
2206 | 2207 | ||
2207 | /** | 2208 | /** |
2208 | * tiocswinsz - implement window size set ioctl | 2209 | * tiocswinsz - implement window size set ioctl |