Skip to content

Commit d2b0051

Browse files
Vitaliy Tomingregkh
authored andcommitted
serial: Add support for Advantech PCI-1611U card
Add support for Advantech PCI-1611U card Advantech provides opensource drivers for this and many others card based on legacy copy of 8250_pci driver called adv950 https://www.advantech.com/emt/support/details/driver?id=1-TDOIMJ It is hard to maintain to run as out of tree module on newer kernels. Just adding PCI ID to kernel 8250_pci works perfect. Signed-off-by: Vitaliy Tomin <tomin@iszf.irk.ru> Cc: stable <stable@kernel.org> Link: https://lore.kernel.org/r/20230423034512.2671157-1-tomin@iszf.irk.ru Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 95d6988 commit d2b0051

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/tty/serial/8250/8250_pci.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1920,6 +1920,8 @@ pci_moxa_setup(struct serial_private *priv,
19201920
#define PCI_SUBDEVICE_ID_SIIG_DUAL_30 0x2530
19211921
#define PCI_VENDOR_ID_ADVANTECH 0x13fe
19221922
#define PCI_DEVICE_ID_INTEL_CE4100_UART 0x2e66
1923+
#define PCI_DEVICE_ID_ADVANTECH_PCI1600 0x1600
1924+
#define PCI_DEVICE_ID_ADVANTECH_PCI1600_1611 0x1611
19231925
#define PCI_DEVICE_ID_ADVANTECH_PCI3620 0x3620
19241926
#define PCI_DEVICE_ID_ADVANTECH_PCI3618 0x3618
19251927
#define PCI_DEVICE_ID_ADVANTECH_PCIf618 0xf618
@@ -4085,6 +4087,9 @@ static SIMPLE_DEV_PM_OPS(pciserial_pm_ops, pciserial_suspend_one,
40854087
pciserial_resume_one);
40864088

40874089
static const struct pci_device_id serial_pci_tbl[] = {
4090+
{ PCI_VENDOR_ID_ADVANTECH, PCI_DEVICE_ID_ADVANTECH_PCI1600,
4091+
PCI_DEVICE_ID_ADVANTECH_PCI1600_1611, PCI_ANY_ID, 0, 0,
4092+
pbn_b0_4_921600 },
40884093
/* Advantech use PCI_DEVICE_ID_ADVANTECH_PCI3620 (0x3620) as 'PCI_SUBVENDOR_ID' */
40894094
{ PCI_VENDOR_ID_ADVANTECH, PCI_DEVICE_ID_ADVANTECH_PCI3620,
40904095
PCI_DEVICE_ID_ADVANTECH_PCI3620, 0x0001, 0, 0,

0 commit comments

Comments
 (0)