aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/8250.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/8250/8250.h')
-rw-r--r--drivers/tty/serial/8250/8250.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h
index 1b08c918cd51..1bcb4b2141a6 100644
--- a/drivers/tty/serial/8250/8250.h
+++ b/drivers/tty/serial/8250/8250.h
@@ -72,6 +72,7 @@ struct serial8250_config {
72#define UART_CAP_UUE (1 << 12) /* UART needs IER bit 6 set (Xscale) */ 72#define UART_CAP_UUE (1 << 12) /* UART needs IER bit 6 set (Xscale) */
73#define UART_CAP_RTOIE (1 << 13) /* UART needs IER bit 4 set (Xscale, Tegra) */ 73#define UART_CAP_RTOIE (1 << 13) /* UART needs IER bit 4 set (Xscale, Tegra) */
74#define UART_CAP_HFIFO (1 << 14) /* UART has a "hidden" FIFO */ 74#define UART_CAP_HFIFO (1 << 14) /* UART has a "hidden" FIFO */
75#define UART_CAP_RPM (1 << 15) /* Runtime PM is active while idle */
75 76
76#define UART_BUG_QUOT (1 << 0) /* UART has buggy quot LSB */ 77#define UART_BUG_QUOT (1 << 0) /* UART has buggy quot LSB */
77#define UART_BUG_TXEN (1 << 1) /* UART has buggy TX IIR status */ 78#define UART_BUG_TXEN (1 << 1) /* UART has buggy TX IIR status */
@@ -112,6 +113,8 @@ static inline void serial_dl_write(struct uart_8250_port *up, int value)
112 up->dl_write(up, value); 113 up->dl_write(up, value);
113} 114}
114 115
116struct uart_8250_port *serial8250_get_port(int line);
117
115#if defined(__alpha__) && !defined(CONFIG_PCI) 118#if defined(__alpha__) && !defined(CONFIG_PCI)
116/* 119/*
117 * Digital did something really horribly wrong with the OUT1 and OUT2 120 * Digital did something really horribly wrong with the OUT1 and OUT2