]> git.baikalelectronics.ru Git - kernel.git/commit
8250/16?50: Add support for Broadcom TruManage redirected serial port
authorStephen Hurd <shurd@broadcom.com>
Thu, 17 Jan 2013 22:14:53 +0000 (14:14 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 22:02:55 +0000 (14:02 -0800)
commit9fbdaef62ce41ac3cebbe97d7153a239e2a9b40c
treed5f471e4bead7804b6db1ce7ab3b7a48ad795289
parentf6f3c8226b50c2dc33d487a660c0e04766c48c53
8250/16?50: Add support for Broadcom TruManage redirected serial port

Add support for the UART device present in Broadcom TruManage capable
NetXtreme chips (ie: 5761m 5762, and 5725).

This implementation has a hidden transmit FIFO, so running in single-byte
interrupt mode results in too many interrupts.  The UART_CAP_HFIFO
capability was added to track this.  It continues to reload the THR as long
as the THRE and TSRE bits are set in the LSR up to a specified limit (1024
is used here).

Signed-off-by: Stephen Hurd <shurd@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250.c
drivers/tty/serial/8250/8250.h
drivers/tty/serial/8250/8250_pci.c
include/uapi/linux/serial_core.h