diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-18 16:07:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-18 16:07:27 -0700 |
commit | fbeb1f19229baa9ee80f315e9d24635045455082 (patch) | |
tree | dc7bd3f3d9c289293f9ed11d0ff3b506444285b0 /drivers | |
parent | 5851fadce8824d5d4b8fd02c22ae098401f6489e (diff) | |
parent | 0b3d4ef6fe43b75d4b2a6fc4b814cf03aa248e13 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6:
serial: Fix sh-sci break interrupt/sysrq handling.
sh: Fix bogus regs pointer in do_IRQ().
sh: Fix SH-3 cache entry_mask and way_size calculation.
sh: Convert struct ioctls to static defines.
sh: Define missing __NR_readahead.
sh: Fix PCI BAR address-space wraparound.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/sh-sci.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c index c53b69610a51..46c40bbc4bc6 100644 --- a/drivers/serial/sh-sci.c +++ b/drivers/serial/sh-sci.c @@ -17,6 +17,9 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. */ +#if defined(CONFIG_SERIAL_SH_SCI_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +#define SUPPORT_SYSRQ +#endif #undef DEBUG @@ -49,11 +52,6 @@ #endif #include <asm/sci.h> - -#if defined(CONFIG_SERIAL_SH_SCI_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) -#define SUPPORT_SYSRQ -#endif - #include "sh-sci.h" struct sci_port { @@ -645,6 +643,9 @@ static inline int sci_handle_breaks(struct uart_port *port) struct tty_struct *tty = port->info->tty; struct sci_port *s = &sci_ports[port->line]; + if (uart_handle_break(port)) + return 0; + if (!s->break_flag && status & SCxSR_BRK(port)) { #if defined(CONFIG_CPU_SH3) /* Debounce break */ |