aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/serial_core.h2
-rw-r--r--include/linux/serial_reg.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 586aaba91720..8b5592e6aca4 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -230,6 +230,7 @@ struct uart_port {
230#define UPIO_MEM32 (3) 230#define UPIO_MEM32 (3)
231#define UPIO_AU (4) /* Au1x00 type IO */ 231#define UPIO_AU (4) /* Au1x00 type IO */
232#define UPIO_TSI (5) /* Tsi108/109 type IO */ 232#define UPIO_TSI (5) /* Tsi108/109 type IO */
233#define UPIO_DWAPB (6) /* DesignWare APB UART */
233 234
234 unsigned int read_status_mask; /* driver specific */ 235 unsigned int read_status_mask; /* driver specific */
235 unsigned int ignore_status_mask; /* driver specific */ 236 unsigned int ignore_status_mask; /* driver specific */
@@ -276,6 +277,7 @@ struct uart_port {
276 struct device *dev; /* parent device */ 277 struct device *dev; /* parent device */
277 unsigned char hub6; /* this should be in the 8250 driver */ 278 unsigned char hub6; /* this should be in the 8250 driver */
278 unsigned char unused[3]; 279 unsigned char unused[3];
280 void *private_data; /* generic platform data pointer */
279}; 281};
280 282
281/* 283/*
diff --git a/include/linux/serial_reg.h b/include/linux/serial_reg.h
index 3c8a6aa77415..1c5ed7d92b0f 100644
--- a/include/linux/serial_reg.h
+++ b/include/linux/serial_reg.h
@@ -38,6 +38,8 @@
38#define UART_IIR_RDI 0x04 /* Receiver data interrupt */ 38#define UART_IIR_RDI 0x04 /* Receiver data interrupt */
39#define UART_IIR_RLSI 0x06 /* Receiver line status interrupt */ 39#define UART_IIR_RLSI 0x06 /* Receiver line status interrupt */
40 40
41#define UART_IIR_BUSY 0x07 /* DesignWare APB Busy Detect */
42
41#define UART_FCR 2 /* Out: FIFO Control Register */ 43#define UART_FCR 2 /* Out: FIFO Control Register */
42#define UART_FCR_ENABLE_FIFO 0x01 /* Enable the FIFO */ 44#define UART_FCR_ENABLE_FIFO 0x01 /* Enable the FIFO */
43#define UART_FCR_CLEAR_RCVR 0x02 /* Clear the RCVR FIFO */ 45#define UART_FCR_CLEAR_RCVR 0x02 /* Clear the RCVR FIFO */