This series adds ns16550 support for two PCIe serial adapters found on
market:
- WCH (Nanjing Qinheng Microelectronics) CH382, available as
CH382 2S [1c00:3253] and CH382 2S1P [1c00:3250].
- ASIX AX99100 PCIe to Multi-I/O Controller [125b:9910].
Both chips expose 16550-compatible UARTs through PCI I/O BAR0 and
work with the existing ns16550 driver once a matching device table
entry and parameter set are added.
v5:
- Add Acked-by from Roger.
- New patch 1/3: Initialize booleans in uart_param[] with "true"
instead of 1, as suggested by Roger.
v4:
- Add Reviewed-by from Stefano.
v3:
- New patch 2/2: add support for ASIX AX99100.
- Add forgotten Reviewed-by from Denis in patch 1/2 (WCH CH382).
v2:
- Reorder entries in ns16550_config to keep them sorted by device ID.
- Rename PCI_VENDOR_ID_WCH to PCI_VENDOR_ID_WCHIC as WCH has multiple
vendor IDs.
Jiaqing Zhao (3):
ns16550: properly initialize booleans in uart_param[]
ns16550: add support for WCH CH382 serial adapters
ns16550: add support for ASIX AX99100 PCIe Multi-I/O controller
Jiaqing Zhao (3):
ns16550: properly initialize booleans in uart_param[]
ns16550: add support for WCH CH382 serial adapters
ns16550: add support for ASIX AX99100 PCIe Multi-I/O controller
xen/drivers/char/ns16550.c | 68 +++++++++++++++++++++++++++++---------
xen/include/xen/pci_ids.h | 4 +++
2 files changed, 57 insertions(+), 15 deletions(-)
--
2.53.0