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)
commitebebd49a8eab5e9aa1b1f8f1614ccc3c2120f886
treed5f471e4bead7804b6db1ce7ab3b7a48ad795289
parentded2f295a36d17838fe97e80d7b6ea83381474f8
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