diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-03-21 12:07:18 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-03-21 12:35:39 (GMT) |
commit | 1fcbba3d65dff8ce9d25e644fcc86fa8c629de7d (patch) | |
tree | 88a18253aeaf7acddb5429788463634ecd2749c0 /net/802/fc.c | |
parent | b7fef2dd7217d9e3f35c948e87297451e55c9709 (diff) | |
download | linux-fsl-qoriq-1fcbba3d65dff8ce9d25e644fcc86fa8c629de7d.tar.xz |
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 'net/802/fc.c')
0 files changed, 0 insertions, 0 deletions