]> git.baikalelectronics.ru Git - kernel.git/commit
tty: xuartps: Implement BREAK detection, add SYSRQ support
authorVlad Lungu <vlad.lungu@windriver.com>
Thu, 17 Oct 2013 21:08:06 +0000 (14:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Oct 2013 02:47:37 +0000 (19:47 -0700)
commitd19b8c47a06b12310afd8e9c35835a077fe51b1a
tree1f38689bc64044ba087c7394079c7a62d81c81fa
parent15ec997d7c316311b97862f2f87639ed183b2620
tty: xuartps: Implement BREAK detection, add SYSRQ support

The Cadence UART does not do break detection, even if the
datasheet says it does. This patch adds break detection in
software (tested in 8N1 mode only) and enables SYSRQ,
allowing for Break-g to enter KDB and all the other goodies.

Signed-off-by: Vlad Lungu <vlad.lungu@windriver.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c