]> git.baikalelectronics.ru Git - kernel.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)
commit72a402db110261e7ac591157b16ac0e1eeb95d41
treed96d839061310f9c2e94f7fc24fc906d338f4d01
parent07c48ae0075963a008fc91a996e8f49b1a0f8f66
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