Commit 0e5a99e0 authored by Magne Bruno's avatar Magne Bruno Committed by Greg Kroah-Hartman
Browse files

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: default avatarMagne 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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ae333a91
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
@@ -95,6 +95,11 @@
#define PCI_DEVICE_ID_MOXA_CP138E_A	0x1381
#define PCI_DEVICE_ID_MOXA_CP168EL_A	0x1683

#define PCI_DEVICE_ID_ADDIDATA_CPCI7500        0x7003
#define PCI_DEVICE_ID_ADDIDATA_CPCI7500_NG     0x7024
#define PCI_DEVICE_ID_ADDIDATA_CPCI7420_NG     0x7025
#define PCI_DEVICE_ID_ADDIDATA_CPCI7300_NG     0x7026

/* Unknown vendors/cards - this should not be in linux/pci_ids.h */
#define PCI_SUBDEVICE_ID_UNKNOWN_0x1584	0x1584
#define PCI_SUBDEVICE_ID_UNKNOWN_0x1588	0x1588
@@ -6004,6 +6009,38 @@ static const struct pci_device_id serial_pci_tbl[] = {
		0,
		pbn_ADDIDATA_PCIe_8_3906250 },

	{	PCI_VENDOR_ID_ADDIDATA,
		PCI_DEVICE_ID_ADDIDATA_CPCI7500,
		PCI_ANY_ID,
		PCI_ANY_ID,
		0,
		0,
		pbn_b0_4_115200 },

	{	PCI_VENDOR_ID_ADDIDATA,
		PCI_DEVICE_ID_ADDIDATA_CPCI7500_NG,
		PCI_ANY_ID,
		PCI_ANY_ID,
		0,
		0,
		pbn_b0_4_115200 },

	{	PCI_VENDOR_ID_ADDIDATA,
		PCI_DEVICE_ID_ADDIDATA_CPCI7420_NG,
		PCI_ANY_ID,
		PCI_ANY_ID,
		0,
		0,
		pbn_b0_2_115200 },

	{	PCI_VENDOR_ID_ADDIDATA,
		PCI_DEVICE_ID_ADDIDATA_CPCI7300_NG,
		PCI_ANY_ID,
		PCI_ANY_ID,
		0,
		0,
		pbn_b0_1_115200 },

	{	PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9835,
		PCI_VENDOR_ID_IBM, 0x0299,
		0, 0, pbn_b0_bt_2_115200 },