]> 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)
commit4a52834f2dfbb7589f0d12579d5f5e8e1ed88857
tree1f38689bc64044ba087c7394079c7a62d81c81fa
parent2f668c75b6f0c905747353dd1153e53e8f2c8e42
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