s390/hvc_iucv: Automatically assign free HVC terminal devices
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Fri, 17 Jan 2014 15:11:07 +0000 (16:11 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Jan 2014 13:02:13 +0000 (14:02 +0100)
commit4f5922194dbed57581f470e49073a96d346a7174
treee3d82e9acc991b32327088a0bd2fec4843726c8c
parentf1206bad2557de8868878a188cf5c506bb676ff7
s390/hvc_iucv: Automatically assign free HVC terminal devices

Add the generic "lnxhvc" terminal ID to automatically assign a HVC terminal when
connecting to the HVC IUCV terminal device driver.  The terminal device driver
tries to find a free (not connected) HVC terminal to satisfy the incoming
connection request.

With this improvement, you do not longer need to guess which HVC terminal is
free, that is, not connected.  Also you can still connect to a particular HVC
terminal by using its associated terminal ID.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/tty/hvc/hvc_iucv.c