[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231027062440.7749-1-crescentcy.hsieh@moxa.com>
Date: Fri, 27 Oct 2023 14:24:38 +0800
From: Crescent CY Hsieh <crescentcy.hsieh@...a.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
Crescent CY Hsieh <crescentcy.hsieh@...a.com>
Subject: [PATCH 0/2] tty: serial: 8250: Adjustments of MOXA PCIe boards serial interface
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
Powered by blists - more mailing lists