summaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_io.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2013-01-04 14:55:13 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-02-14 15:55:03 +0100
commit4d334fd155b53adfe78393e66850ff4bb0aa8406 (patch)
tree72ac8f4d428545eb402c73e5b002b2a70e2cef69 /drivers/tty/tty_io.c
parentc95571e68086d36e8e3369597b03ec29c63abec9 (diff)
downloadop-kernel-dev-4d334fd155b53adfe78393e66850ff4bb0aa8406.zip
op-kernel-dev-4d334fd155b53adfe78393e66850ff4bb0aa8406.tar.gz
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/tty_io.c')
-rw-r--r--drivers/tty/tty_io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
index da9fde8..3f00f9e 100644
--- a/drivers/tty/tty_io.c
+++ b/drivers/tty/tty_io.c
@@ -2203,6 +2203,7 @@ done:
mutex_unlock(&tty->termios_mutex);
return 0;
}
+EXPORT_SYMBOL(tty_do_resize);
/**
* tiocswinsz - implement window size set ioctl
OpenPOWER on IntegriCloud