Skip to content

Commit

Permalink
[SPARC64] sunhv: Support SYSRQ properly.
Browse files Browse the repository at this point in the history
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: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent e7a0453 commit 135066a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/serial/sunhv.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ static struct tty_struct *receive_chars(struct uart_port *port, struct pt_regs *
break;

if (c == CON_BREAK) {
if (uart_handle_break(port))
continue;
saw_console_brk = 1;
c = 0;
}
Expand Down

0 comments on commit 135066a

Please sign in to comment.