| From 98d9925fc033f3da76f781d43d5ac6ad43e1bf62 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Tue, 16 Apr 2024 08:55:28 -0400 |
| Subject: serial: exar: adding missing CTI and Exar PCI ids |
| |
| From: Parker Newman <pnewman@connecttech.com> |
| |
| [ Upstream commit b86ae40ffcf5a16b9569b1016da4a08c4f352ca2 ] |
| |
| - Added Connect Tech and Exar IDs not already in pci_ids.h |
| |
| Signed-off-by: Parker Newman <pnewman@connecttech.com> |
| Link: https://lore.kernel.org/r/7c3d8e795a864dd9b0a00353b722060dc27c4e09.1713270624.git.pnewman@connecttech.com |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| drivers/tty/serial/8250/8250_exar.c | 42 +++++++++++++++++++++++++++++ |
| 1 file changed, 42 insertions(+) |
| |
| diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c |
| index 55451ff846520..b5ae6ec61c9fb 100644 |
| --- a/drivers/tty/serial/8250/8250_exar.c |
| +++ b/drivers/tty/serial/8250/8250_exar.c |
| @@ -41,8 +41,50 @@ |
| #define PCI_DEVICE_ID_COMMTECH_4228PCIE 0x0021 |
| #define PCI_DEVICE_ID_COMMTECH_4222PCIE 0x0022 |
| |
| +#define PCI_VENDOR_ID_CONNECT_TECH 0x12c4 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_2_SP_OPTO 0x0340 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_4_SP_OPTO_A 0x0341 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_4_SP_OPTO_B 0x0342 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_2_XPRS 0x0350 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_4_XPRS_A 0x0351 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_4_XPRS_B 0x0352 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_XPRS 0x0353 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_16_XPRS_A 0x0354 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_16_XPRS_B 0x0355 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_2_XPRS_OPTO 0x0360 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_4_XPRS_OPTO_A 0x0361 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_4_XPRS_OPTO_B 0x0362 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_SP 0x0370 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_SP_232 0x0371 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_SP_485 0x0372 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_4_4_SP 0x0373 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_6_2_SP 0x0374 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_2_6_SP 0x0375 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_SP_232_NS 0x0376 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_2_XP_OPTO_LEFT 0x0380 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_2_XP_OPTO_RIGHT 0x0381 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_4_XP_OPTO 0x0382 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_4_4_XPRS_OPTO 0x0392 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_XPRS_LP 0x03A0 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_XPRS_LP_232 0x03A1 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_XPRS_LP_485 0x03A2 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_XPRS_LP_232_NS 0x03A3 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCIE_XEG001 0x0602 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCIE_XR35X_BASE 0x1000 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCIE_XR35X_2 0x1002 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCIE_XR35X_4 0x1004 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCIE_XR35X_8 0x1008 |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCIE_XR35X_12 0x100C |
| +#define PCI_SUBDEVICE_ID_CONNECT_TECH_PCIE_XR35X_16 0x1010 |
| +#define PCI_DEVICE_ID_CONNECT_TECH_PCI_XR79X_12_XIG00X 0x110c |
| +#define PCI_DEVICE_ID_CONNECT_TECH_PCI_XR79X_12_XIG01X 0x110d |
| +#define PCI_DEVICE_ID_CONNECT_TECH_PCI_XR79X_16 0x1110 |
| + |
| #define PCI_DEVICE_ID_EXAR_XR17V4358 0x4358 |
| #define PCI_DEVICE_ID_EXAR_XR17V8358 0x8358 |
| +#define PCI_DEVICE_ID_EXAR_XR17V252 0x0252 |
| +#define PCI_DEVICE_ID_EXAR_XR17V254 0x0254 |
| +#define PCI_DEVICE_ID_EXAR_XR17V258 0x0258 |
| |
| #define PCI_SUBDEVICE_ID_USR_2980 0x0128 |
| #define PCI_SUBDEVICE_ID_USR_2981 0x0129 |
| -- |
| 2.43.0 |
| |