This patch series do some adjustments about serial interface of MOXA PCIe boards including: - Fix MOXA RS422/RS485 PCIe boards not function by default - Add support for MOXA PCIe boards to switch serial interface The second patch depends on the first patch because the first patch introduces a function called pci_moxa_set_interface() to set serial interface and second patch utilize it with ioctl command "TIOCSRS485" to switch serial interfaces. Crescent CY Hsieh (2): tty: serial: 8250: Fix MOXA RS422/RS485 PCIe boards not work by default tty: serial: 8250: Add support for MOXA PCIe boards to switch interface drivers/tty/serial/8250/8250_pci.c | 102 ++++++++++++++++++++++++++++- drivers/tty/serial/serial_core.c | 21 +++++- include/uapi/linux/serial.h | 4 ++ 3 files changed, 123 insertions(+), 4 deletions(-) -- 2.34.1