OSDN Git Service

serial: mcf: add sysrq capability
authorAngelo Dureghello <angelo.dureghello@timesys.com>
Fri, 2 Oct 2020 14:05:45 +0000 (16:05 +0200)
committerGreg Ungerer <gerg@linux-m68k.org>
Wed, 7 Oct 2020 11:58:36 +0000 (21:58 +1000)
commit9f5fd809d7a02e32c2e044acb9f6aed1c79a699b
treee917e6ead5316b521ceb5bfbbc3174c06db97739
parent322c512f476f07e960cecd447ef22c15bed0e5f1
serial: mcf: add sysrq capability

After some unsuccessful attempts to use sysrq over console, figured
out that port->has_sysrq should likely be enabled, as per other
architectures, this when CONFIG_SERIAL_MCF_CONSOLE is also enabled.

Tested some magic sysrq commands (h, p, t, b), they works now
properly. Commands works inside 5 secs after BREAK is sent, as
expected.

Signed-off-by: Angelo Dureghello <angelo.dureghello@timesys.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
drivers/tty/serial/mcf.c