serial: sh-sci: Generalize overrun handling.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 8 Jun 2011 09:19:37 +0000 (18:19 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 8 Jun 2011 09:19:37 +0000 (18:19 +0900)
commitdebf9507166eede1e676d27d3298cdfb27399cb4
tree3c41311a485be79ab16d707c8c7f997990e95cd8
parentb03034016184b7e9fd19f2a24ffb131953fdcc41
serial: sh-sci: Generalize overrun handling.

This consolidates all of the broken out overrun handling and ensures that
we have sensible defaults per-port type, in addition to making sure that
overruns are flagged appropriately in the error mask for parts that
haven't explicitly disabled support for it.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/tty/serial/sh-sci.c
drivers/tty/serial/sh-sci.h
include/linux/serial_sci.h