aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-16 03:42:21 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:13:11 -0500
commit135066a21129760e44a51a7ef31d8c861f8ddace (patch)
tree7dacf1643c9110a4e0ac8e89fed5465a0f77f94d /drivers
parente7a0453ef82c1433a35ab82d874296fff68f3639 (diff)
[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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/sunhv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/serial/sunhv.c b/drivers/serial/sunhv.c
index 7f73907db7b6..378a1784ce9a 100644
--- a/drivers/serial/sunhv.c
+++ b/drivers/serial/sunhv.c
@@ -91,6 +91,8 @@ static struct tty_struct *receive_chars(struct uart_port *port, struct pt_regs *
91 break; 91 break;
92 92
93 if (c == CON_BREAK) { 93 if (c == CON_BREAK) {
94 if (uart_handle_break(port))
95 continue;
94 saw_console_brk = 1; 96 saw_console_brk = 1;
95 c = 0; 97 c = 0;
96 } 98 }