Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

can: sja1000: plx_pci: Reuse predefined CTI subvendor ID

There is predefined PCI_SUBVENDOR_ID_CONNECT_TECH, use it in the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/all/20240502123852.2631577-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

authored by

Andy Shevchenko and committed by
Marc Kleine-Budde
5ca38013 b1dc3c68

+1 -2
+1 -2
drivers/net/can/sja1000/plx_pci.c
··· 122 122 #define TEWS_PCI_VENDOR_ID 0x1498 123 123 #define TEWS_PCI_DEVICE_ID_TMPC810 0x032A 124 124 125 - #define CTI_PCI_VENDOR_ID 0x12c4 126 125 #define CTI_PCI_DEVICE_ID_CRG001 0x0900 127 126 128 127 #define MOXA_PCI_VENDOR_ID 0x1393 ··· 357 358 { 358 359 /* Connect Tech Inc. CANpro/104-Plus Opto (CRG001) card */ 359 360 PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9030, 360 - CTI_PCI_VENDOR_ID, CTI_PCI_DEVICE_ID_CRG001, 361 + PCI_SUBVENDOR_ID_CONNECT_TECH, CTI_PCI_DEVICE_ID_CRG001, 361 362 0, 0, 362 363 (kernel_ulong_t)&plx_pci_card_info_cti 363 364 },