]> git.baikalelectronics.ru Git - 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)
commita27daa64e35d9156f526f8a78011b967db895b91
tree781e9404d1664513c308bb8a4ea891f6cb73ff81
parent314f173cc3928b6ff48825f14e7d3c0bafcf2fbe
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