aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r--include/linux/serial_core.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 586aaba91720..aa2653a159f4 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -39,7 +39,8 @@
39#define PORT_RSA 13 39#define PORT_RSA 13
40#define PORT_NS16550A 14 40#define PORT_NS16550A 14
41#define PORT_XSCALE 15 41#define PORT_XSCALE 15
42#define PORT_MAX_8250 15 /* max port ID */ 42#define PORT_RM9000 16 /* PMC-Sierra RM9xxx internal UART */
43#define PORT_MAX_8250 16 /* max port ID */
43 44
44/* 45/*
45 * ARM specific type numbers. These are not currently guaranteed 46 * ARM specific type numbers. These are not currently guaranteed
@@ -135,6 +136,9 @@
135/* Xilinx uartlite */ 136/* Xilinx uartlite */
136#define PORT_UARTLITE 74 137#define PORT_UARTLITE 74
137 138
139/* Blackfin bf5xx */
140#define PORT_BFIN 75
141
138#ifdef __KERNEL__ 142#ifdef __KERNEL__
139 143
140#include <linux/compiler.h> 144#include <linux/compiler.h>
@@ -230,6 +234,8 @@ struct uart_port {
230#define UPIO_MEM32 (3) 234#define UPIO_MEM32 (3)
231#define UPIO_AU (4) /* Au1x00 type IO */ 235#define UPIO_AU (4) /* Au1x00 type IO */
232#define UPIO_TSI (5) /* Tsi108/109 type IO */ 236#define UPIO_TSI (5) /* Tsi108/109 type IO */
237#define UPIO_DWAPB (6) /* DesignWare APB UART */
238#define UPIO_RM9000 (7) /* RM9000 type IO */
233 239
234 unsigned int read_status_mask; /* driver specific */ 240 unsigned int read_status_mask; /* driver specific */
235 unsigned int ignore_status_mask; /* driver specific */ 241 unsigned int ignore_status_mask; /* driver specific */
@@ -260,6 +266,7 @@ struct uart_port {
260#define UPF_CONS_FLOW ((__force upf_t) (1 << 23)) 266#define UPF_CONS_FLOW ((__force upf_t) (1 << 23))
261#define UPF_SHARE_IRQ ((__force upf_t) (1 << 24)) 267#define UPF_SHARE_IRQ ((__force upf_t) (1 << 24))
262#define UPF_BOOT_AUTOCONF ((__force upf_t) (1 << 28)) 268#define UPF_BOOT_AUTOCONF ((__force upf_t) (1 << 28))
269#define UPF_FIXED_PORT ((__force upf_t) (1 << 29))
263#define UPF_DEAD ((__force upf_t) (1 << 30)) 270#define UPF_DEAD ((__force upf_t) (1 << 30))
264#define UPF_IOREMAP ((__force upf_t) (1 << 31)) 271#define UPF_IOREMAP ((__force upf_t) (1 << 31))
265 272
@@ -276,6 +283,7 @@ struct uart_port {
276 struct device *dev; /* parent device */ 283 struct device *dev; /* parent device */
277 unsigned char hub6; /* this should be in the 8250 driver */ 284 unsigned char hub6; /* this should be in the 8250 driver */
278 unsigned char unused[3]; 285 unsigned char unused[3];
286 void *private_data; /* generic platform data pointer */
279}; 287};
280 288
281/* 289/*