Commit 135066a2 authored by David S. Miller's avatar David S. Miller

[SPARC64] sunhv: Support SYSRQ properly.

By calling uart_handle_break().  We'll still do the
"sun_do_break()" handling if the user gives two
breaks in a row.

We should probably do this in the other Sparc serial
drivers too.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e7a0453e
...@@ -91,6 +91,8 @@ static struct tty_struct *receive_chars(struct uart_port *port, struct pt_regs * ...@@ -91,6 +91,8 @@ static struct tty_struct *receive_chars(struct uart_port *port, struct pt_regs *
break; break;
if (c == CON_BREAK) { if (c == CON_BREAK) {
if (uart_handle_break(port))
continue;
saw_console_brk = 1; saw_console_brk = 1;
c = 0; c = 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment