]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sh-sci: Fix up SH-2A SCIF support.
authorPhil Edworthy <phil.edworthy@renesas.com>
Mon, 3 Oct 2011 14:16:47 +0000 (15:16 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 4 Nov 2011 13:33:30 +0000 (22:33 +0900)
commitab85398bcfce03e964c05e5a92b30ace1ba458b9
tree5c36c5ff8aa7e4d6285fa9abec60505feedfda7c
parent2a6d6e135f50a727e98464320af36bf840f11dbb
serial: sh-sci: Fix up SH-2A SCIF support.

This fixes up support for SH-2(A) SCIFs by introducing a new regtype. As
expected, it's close to the SH-4A SCIF with fifodata, but still different
enough to warrant its own type.

Fixes up a number of FIFO overflows and similar for both SH7203/SH7264.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Tested-by: Federico Fuga <fuga@studiofuga.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh2a/setup-sh7203.c
drivers/tty/serial/sh-sci.c
include/linux/serial_sci.h