These patch series do some changes to MOXA PCIe boards in 8250_pci.c, including: - Cleanup MOXA configurations for future maintainability - Add support for MOXA Mini PCIe boards - Fix MOXA RS422/RS485 boards not function by default - Add support for MOXA PCIe boards to switch between different serial interfaces Each patch depends on previous one. Crescent CY Hsieh (4): tty: serial: 8250: Cleanup MOXA configurations in 8250_pci.c tty: serial: 8250: Add support for MOXA Mini PCIe boards 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 between RS422/RS485 drivers/tty/serial/8250/8250_pci.c | 205 ++++++++++++++++++++++------- drivers/tty/serial/serial_core.c | 20 ++- include/uapi/linux/serial.h | 4 + 3 files changed, 178 insertions(+), 51 deletions(-) -- 2.34.1