diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-03-21 13:07:18 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-03-21 13:35:39 +0100 |
commit | 1fcbba3d65dff8ce9d25e644fcc86fa8c629de7d (patch) | |
tree | 88a18253aeaf7acddb5429788463634ecd2749c0 /arch/um | |
parent | b7fef2dd7217d9e3f35c948e87297451e55c9709 (diff) |
s390/3270: fix minor_start issue
The 3270 device nodes 227/0 and 228/0 are special. 227/0 is never used,
and 228/0 is used to redirect full screen applications from /dev/3270/tub
to the real device node of the 3270 terminal.
To keep the device names /dev/3270/tty<x> consistent with the minor number
the device driver sets minor_start to 0 and skips minor 0. That makes the
tty index equivalent to the minor number. But doing so seems to causes
problems with init scripts.
A better solution is to set minor_start to the correct value of 1 and
set name_base to 1 as well. tty_register_device will then automatically
create the correct tty name.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions