]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tty/hvc_console: Add DTR/RTS callback to handle HUPCL control
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Tue, 2 Jul 2013 15:07:14 +0000 (17:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 22:21:13 +0000 (15:21 -0700)
commit33e745a192c272130b02b86d5dea5b577a291ed7
tree781e9404d1664513c308bb8a4ea891f6cb73ff81
parente84f54fc58ada30f67b7353f6c16c3c4aa7c8da5
tty/hvc_console: Add DTR/RTS callback to handle HUPCL control

Introduce a new callback to explicitly handle the HUPCL termios control flag.
This prepares for a follow-up commit for the hvc_iucv device driver to
improve handling when to drop an established network connection.

The callback naming is based on the recently added tty_port interface to
facilitate a potential refactoring of the hvc_console to use tty_port
functions.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_console.c
drivers/tty/hvc/hvc_console.h