From: "Matwey V. Kornilov"
Hello,
Please, consider applying this series to openSUSE-42.2 branch.
The following patch series is to enable RS485 support for BeagleBone Black (armv7l architecture).
When we moved from deprecated BeagleBone Black serial driver (ttyOx) to new one (ttySx) in master branch,
TIOCSRS485 ioctl support in user-space disappeared due to this migration.
The support has been brought back in 4.6 using new implementation.
The following patches are taken from 4.6 linux kernel release:
Matwey V. Kornilov (5):
tty: Move serial8250_stop_rx() in front of serial8250_start_tx()
tty: Add software emulated RS485 support for 8250
tty: 8250_omap: Use software emulated RS485 direction control
tty: serial: Use GFP_ATOMIC instead of GFP_KERNEL in
serial8250_em485_init()
tty: serial: 8250: Cleanup p->em485 in serial8250_unregister_port
Yegor Yefremov (1):
tty/serial/8250: fix RS485 half-duplex RX
drivers/tty/serial/8250/8250.h | 2 +
drivers/tty/serial/8250/8250_core.c | 9 ++
drivers/tty/serial/8250/8250_omap.c | 31 +++++
drivers/tty/serial/8250/8250_port.c | 252 ++++++++++++++++++++++++++++++++++--
include/linux/serial_8250.h | 8 ++
5 files changed, 288 insertions(+), 14 deletions(-)
--
2.1.4
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org