diff options
| author | 2016-02-01 21:09:21 +0300 | |
|---|---|---|
| committer | 2016-02-06 22:23:26 -0800 | |
| commit | e490c9144cfaa8e2242c1e5d5187230928f27417 (patch) | |
| tree | 183cac3bb0d61e0637045d9973e628bd98d9009f /scripts/Makefile.thinlto | |
| parent | tty: Move serial8250_stop_rx() in front of serial8250_start_tx() (diff) | |
tty: Add software emulated RS485 support for 8250
Implementation of software emulation of RS485 direction handling is based
on omap_serial driver.
Before and after transmission RTS is set to the appropriate value.
Note that before calling serial8250_em485_init() the caller has to
ensure that UART will interrupt when shift register empty. Otherwise,
emultaion cannot be used.
Both serial8250_em485_init() and serial8250_em485_destroy() are
idempotent functions.
Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
