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)
commit3af1f8a41feab47b232b0c3d3b2322426672480d
tree5c36c5ff8aa7e4d6285fa9abec60505feedfda7c
parent1a67a573b8d9f02211f36fbab50f6265dc49384a
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