summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/8250.h
diff options
context:
space:
mode:
authorEd Blake <ed.blake@imgtec.com>2016-11-10 19:07:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-16 10:59:38 +0100
commit98838d95075a5295f3478ceba18bcccf472e30f4 (patch)
tree9b38f47ee9a97a3810db662e0f168f7d0303d38b /drivers/tty/serial/8250/8250.h
parentserial: 8250_dma: power off device after TX is done (diff)
downloadlinux-98838d95075a5295f3478ceba18bcccf472e30f4.tar.xz
linux-98838d95075a5295f3478ceba18bcccf472e30f4.zip
serial: 8250: Add IrDA to UART capabilities
Add an IrDA UART capability flag and change the type of uart_8250_port.capabilities to be u32 rather than unsigned short to accommodate the additional flag. Signed-off-by: Ed Blake <ed.blake@imgtec.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250.h')
-rw-r--r--drivers/tty/serial/8250/8250.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h
index 124e6e695a3a..ce8d4ffcc425 100644
--- a/drivers/tty/serial/8250/8250.h
+++ b/drivers/tty/serial/8250/8250.h
@@ -80,6 +80,7 @@ struct serial8250_config {
#define UART_CAP_RTOIE (1 << 13) /* UART needs IER bit 4 set (Xscale, Tegra) */
#define UART_CAP_HFIFO (1 << 14) /* UART has a "hidden" FIFO */
#define UART_CAP_RPM (1 << 15) /* Runtime PM is active while idle */
+#define UART_CAP_IRDA (1 << 16) /* UART supports IrDA line discipline */
#define UART_BUG_QUOT (1 << 0) /* UART has buggy quot LSB */
#define UART_BUG_TXEN (1 << 1) /* UART has buggy TX IIR status */