diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/serial_8250.h | 2 | ||||
| -rw-r--r-- | include/uapi/linux/serial_reg.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h index 730ab4b3d686..f93649e22c43 100644 --- a/include/linux/serial_8250.h +++ b/include/linux/serial_8250.h | |||
| @@ -74,8 +74,10 @@ struct uart_8250_port { | |||
| 74 | struct list_head list; /* ports on this IRQ */ | 74 | struct list_head list; /* ports on this IRQ */ |
| 75 | unsigned short capabilities; /* port capabilities */ | 75 | unsigned short capabilities; /* port capabilities */ |
| 76 | unsigned short bugs; /* port bugs */ | 76 | unsigned short bugs; /* port bugs */ |
| 77 | bool fifo_bug; /* min RX trigger if enabled */ | ||
| 77 | unsigned int tx_loadsz; /* transmit fifo load size */ | 78 | unsigned int tx_loadsz; /* transmit fifo load size */ |
| 78 | unsigned char acr; | 79 | unsigned char acr; |
| 80 | unsigned char fcr; | ||
| 79 | unsigned char ier; | 81 | unsigned char ier; |
| 80 | unsigned char lcr; | 82 | unsigned char lcr; |
| 81 | unsigned char mcr; | 83 | unsigned char mcr; |
diff --git a/include/uapi/linux/serial_reg.h b/include/uapi/linux/serial_reg.h index 99b47058816a..df6c9ab6b0cd 100644 --- a/include/uapi/linux/serial_reg.h +++ b/include/uapi/linux/serial_reg.h | |||
| @@ -88,6 +88,11 @@ | |||
| 88 | #define UART_FCR6_T_TRIGGER_30 0x30 /* Mask for transmit trigger set at 30 */ | 88 | #define UART_FCR6_T_TRIGGER_30 0x30 /* Mask for transmit trigger set at 30 */ |
| 89 | #define UART_FCR7_64BYTE 0x20 /* Go into 64 byte mode (TI16C750) */ | 89 | #define UART_FCR7_64BYTE 0x20 /* Go into 64 byte mode (TI16C750) */ |
| 90 | 90 | ||
| 91 | #define UART_FCR_R_TRIG_SHIFT 6 | ||
| 92 | #define UART_FCR_R_TRIG_BITS(x) \ | ||
| 93 | (((x) & UART_FCR_TRIGGER_MASK) >> UART_FCR_R_TRIG_SHIFT) | ||
| 94 | #define UART_FCR_R_TRIG_MAX_STATE 4 | ||
| 95 | |||
| 91 | #define UART_LCR 3 /* Out: Line Control Register */ | 96 | #define UART_LCR 3 /* Out: Line Control Register */ |
| 92 | /* | 97 | /* |
| 93 | * Note: if the word length is 5 bits (UART_LCR_WLEN5), then setting | 98 | * Note: if the word length is 5 bits (UART_LCR_WLEN5), then setting |
