Go to the documentation of this file.
10 #ifndef _UAPI_LINUX_SERIAL_H
11 #define _UAPI_LINUX_SERIAL_H
13 #include <linux/types.h>
43 #define ASYNC_CLOSING_WAIT_INF 0
44 #define ASYNC_CLOSING_WAIT_NONE 65535
49 #define PORT_UNKNOWN 0
56 #define PORT_16650V2 7
58 #define PORT_STARTECH 9
59 #define PORT_16C950 10
65 #define SERIAL_IO_PORT 0
66 #define SERIAL_IO_HUB6 1
67 #define SERIAL_IO_MEM 2
69 #define UART_CLEAR_FIFO 0x01
70 #define UART_USE_FIFO 0x02
71 #define UART_STARTECH 0x04
72 #define UART_NATSEMI 0x08
113 #define SER_RS485_ENABLED (1 << 0)
114 #define SER_RS485_RTS_ON_SEND (1 << 1)
117 #define SER_RS485_RTS_AFTER_SEND (1 << 2)
119 #define SER_RS485_RX_DURING_TX (1 << 4)