serial: Introduce UPSTAT_SYNC_FIFO for synchronised FIFOs
authorJeremy Kerr <jk@ozlabs.org>
Tue, 27 Mar 2018 03:48:24 +0000 (11:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 08:16:50 +0000 (10:16 +0200)
commitc5f78b1fe4e5baf4c4ca30377c2d7e06e2e391ec
tree7aa24241fd71460d638053895d3585660e10881e
parentd6810a82c7c7e3b262db5e9e67f6bd81b41f3840
serial: Introduce UPSTAT_SYNC_FIFO for synchronised FIFOs

This change adds a flag to indicate that a UART is has an external means
of synchronising its FIFO, without needing CTSRTS or XON/XOFF.

This allows us to use the throttle/unthrottle callbacks, without having
to claim other methods of flow control.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Tested-by: Eddie James <eajames@linux.vnet.ibm.com>
Tested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c
include/linux/serial_core.h