]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "serial/8250: Add support for NI-Serial PXI/PXIe+485 devices"
authorJe Yen Tam <je.yen.tam@ni.com>
Wed, 27 Nov 2019 07:53:01 +0000 (15:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Nov 2019 13:24:13 +0000 (14:24 +0100)
commitb8c7598f0d2b640fc94c23b33df9bac1e09aa3c9
treeac2135d177d042bf78602a3a0cde1aa026987b9e
parent0172f1bb8af5abc855cf90f95c589a893c52fc48
Revert "serial/8250: Add support for NI-Serial PXI/PXIe+485 devices"

This reverts commit c1acea938675891c4bd006bd8b548d799a8817d5 ("serial/8250:
Add support for NI-Serial PXI/PXIe+485 devices").

The commit c1acea938675 ("serial/8250: Add support for NI-Serial
PXI/PXIe+485 devices") introduced a breakage on NI-Serial PXI(e)-RS485
devices, RS-232 variants have no issue. The Linux system can enumerate the
NI-Serial PXI(e)-RS485 devices, but it broke the R/W operation on the
ports.

However, the implementation is working on the NI internal Linux RT kernel
but it does not work in the Linux main tree kernel. This is only affecting
NI products, specifically the RS-485 variants. Reverting the upstream
until a proper implementation that can apply to both NI internal Linux
kernel and Linux mainline kernel is figured out.

Signed-off-by: Je Yen Tam <je.yen.tam@ni.com>
Fixes: c1acea938675 ("serial/8250: Add support for NI-Serial PXI/PXIe+485 devices")
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191127075301.9866-1-je.yen.tam@ni.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c