diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-04-17 11:41:10 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-11-04 06:25:55 -0500 |
commit | dba05832cbe4f305dfd998fb26d7c685d91fbbd8 (patch) | |
tree | 823df80fdcdaa66587659bdf2c83106dd71d1c1a /include/linux/serial_core.h | |
parent | 2cbacafd7af0f1cc7a433668c662a91ba6aabc1b (diff) |
SERIAL: core: add hardware assisted h/w flow control support
Ports which are handling h/w flow control in hardware must not have
their RTS state altered depending on the tty's hardware-stopped state.
Avoid this additional logic when setting the termios state.
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r-- | include/linux/serial_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 00051388de3c..e2cda5d04e48 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -163,6 +163,8 @@ struct uart_port { | |||
163 | #define UPF_BUGGY_UART ((__force upf_t) (1 << 14)) | 163 | #define UPF_BUGGY_UART ((__force upf_t) (1 << 14)) |
164 | #define UPF_NO_TXEN_TEST ((__force upf_t) (1 << 15)) | 164 | #define UPF_NO_TXEN_TEST ((__force upf_t) (1 << 15)) |
165 | #define UPF_MAGIC_MULTIPLIER ((__force upf_t) (1 << 16)) | 165 | #define UPF_MAGIC_MULTIPLIER ((__force upf_t) (1 << 16)) |
166 | /* Port has hardware-assisted h/w flow control (iow, auto-RTS *not* auto-CTS) */ | ||
167 | #define UPF_HARD_FLOW ((__force upf_t) (1 << 21)) | ||
166 | /* Port has hardware-assisted s/w flow control */ | 168 | /* Port has hardware-assisted s/w flow control */ |
167 | #define UPF_SOFT_FLOW ((__force upf_t) (1 << 22)) | 169 | #define UPF_SOFT_FLOW ((__force upf_t) (1 << 22)) |
168 | #define UPF_CONS_FLOW ((__force upf_t) (1 << 23)) | 170 | #define UPF_CONS_FLOW ((__force upf_t) (1 << 23)) |