]> err.no Git - linux-2.6/commitdiff
[SPARC64] sunhv: Support SYSRQ properly.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 16 Feb 2006 08:42:21 +0000 (00:42 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:13:11 +0000 (01:13 -0800)
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>
drivers/serial/sunhv.c

index 7f73907db7b6f581c8a6bc5d98087d1d306f1b47..378a1784ce9aea3f440245f419222a860a9568d6 100644 (file)
@@ -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;
                }