OSDN Git Service

s390/3270: unify con3270 + tty3270
authorSven Schnelle <svens@linux.ibm.com>
Mon, 28 Nov 2022 18:22:28 +0000 (19:22 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:33:56 +0000 (14:33 +0100)
commitc17fe081ac1f397feaed6c8a279ebb3f647f359a
tree4e04c0c6f5de8c5cad576be6945762e81aba2edc
parenta21e962e129db40ae08af9fc80ea7babf3632d77
s390/3270: unify con3270 + tty3270

There were two flavours of 3270 drivers: con3270, which provides a
console driver, and tty3270 providing a tty driver. A user could switch
with PF3 between the two views. While this sounds nice, it's a bit
annoying: If the user enters a command which triggers a kernel message,
he always has to switch back and forth to see the message. Unify both
views to have kernel messages and tty in one screen, like it is on almost
all other platforms. This also has the nice side effect of removing a lot
of duplicate code.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/Makefile
drivers/s390/char/con3270.c [deleted file]
drivers/s390/char/tty3270.c
drivers/s390/char/tty3270.h [deleted file]