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)
commit0c0c47bc40a2e358d593b2d7fb93b50027fbfc0c
tree1f38689bc64044ba087c7394079c7a62d81c81fa
parentc03cae1791407f4f4f9bc6b0354ecaeb50df787f
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