Skip to content

Commit 0e5a99e

Browse files
Magne Brunogregkh
authored andcommitted
serial: add support of CPCI cards
Addi-Data GmbH is manufacturing multi-serial ports cards supporting CompactPCI (known as CPCI). Those cards are identified with different DeviceIds. Those cards integrating standard UARTs work the same way as PCI/PCIe models already supported in the serial driver. Signed-off-by: Magne Bruno <magne.bruno@addi-data.com> Link: https://patch.msgid.link/20251110162456.341029-1-magne.bruno@addi-data.com Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent ae333a9 commit 0e5a99e

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

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

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@
9595
#define PCI_DEVICE_ID_MOXA_CP138E_A 0x1381
9696
#define PCI_DEVICE_ID_MOXA_CP168EL_A 0x1683
9797

98+
#define PCI_DEVICE_ID_ADDIDATA_CPCI7500 0x7003
99+
#define PCI_DEVICE_ID_ADDIDATA_CPCI7500_NG 0x7024
100+
#define PCI_DEVICE_ID_ADDIDATA_CPCI7420_NG 0x7025
101+
#define PCI_DEVICE_ID_ADDIDATA_CPCI7300_NG 0x7026
102+
98103
/* Unknown vendors/cards - this should not be in linux/pci_ids.h */
99104
#define PCI_SUBDEVICE_ID_UNKNOWN_0x1584 0x1584
100105
#define PCI_SUBDEVICE_ID_UNKNOWN_0x1588 0x1588
@@ -6004,6 +6009,38 @@ static const struct pci_device_id serial_pci_tbl[] = {
60046009
0,
60056010
pbn_ADDIDATA_PCIe_8_3906250 },
60066011

6012+
{ PCI_VENDOR_ID_ADDIDATA,
6013+
PCI_DEVICE_ID_ADDIDATA_CPCI7500,
6014+
PCI_ANY_ID,
6015+
PCI_ANY_ID,
6016+
0,
6017+
0,
6018+
pbn_b0_4_115200 },
6019+
6020+
{ PCI_VENDOR_ID_ADDIDATA,
6021+
PCI_DEVICE_ID_ADDIDATA_CPCI7500_NG,
6022+
PCI_ANY_ID,
6023+
PCI_ANY_ID,
6024+
0,
6025+
0,
6026+
pbn_b0_4_115200 },
6027+
6028+
{ PCI_VENDOR_ID_ADDIDATA,
6029+
PCI_DEVICE_ID_ADDIDATA_CPCI7420_NG,
6030+
PCI_ANY_ID,
6031+
PCI_ANY_ID,
6032+
0,
6033+
0,
6034+
pbn_b0_2_115200 },
6035+
6036+
{ PCI_VENDOR_ID_ADDIDATA,
6037+
PCI_DEVICE_ID_ADDIDATA_CPCI7300_NG,
6038+
PCI_ANY_ID,
6039+
PCI_ANY_ID,
6040+
0,
6041+
0,
6042+
pbn_b0_1_115200 },
6043+
60076044
{ PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9835,
60086045
PCI_VENDOR_ID_IBM, 0x0299,
60096046
0, 0, pbn_b0_bt_2_115200 },

0 commit comments

Comments
 (0)