]> git.karo-electronics.de Git - linux-beck.git/commit
serial: 8250: Set Altera 16550 TX FIFO Threshold
authorThor Thayer <tthayer@opensource.altera.com>
Thu, 22 Sep 2016 19:56:16 +0000 (14:56 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Sep 2016 10:55:50 +0000 (12:55 +0200)
commit8e5470c9839caff94fe334e67ff7e7ace587282a
treed96d839061310f9c2e94f7fc24fc906d338f4d01
parentffea043965e4634617485b4d313d6c0099d817f0
serial: 8250: Set Altera 16550 TX FIFO Threshold

The Altera 16550 soft IP UART requires 2 additional registers for
TX FIFO threshold support. These 2 registers enable the TX FIFO
Low Watermark and set the TX FIFO Low Watermark.
Set the TX FIFO threshold to the FIFO size - tx_loadsz.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c
include/uapi/linux/serial_reg.h