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>

authored by Angelo Dureghello and committed by Greg Ungerer 9f5fd809 322c512f

+1
+1
drivers/tty/serial/mcf.c
··· 632 632 port->ops = &mcf_uart_ops; 633 633 port->flags = UPF_BOOT_AUTOCONF; 634 634 port->rs485_config = mcf_config_rs485; 635 + port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_MCF_CONSOLE); 635 636 636 637 uart_add_one_port(&mcf_driver, port); 637 638 }