diff mbox series

fpga: altera-cvp: PCIex8x8 ports

Message ID 20250212223553.2717304-1-kuhanh.murugasen.krishnan@intel.com (mailing list archive)
State New
Headers show
Series fpga: altera-cvp: PCIex8x8 ports | expand

Commit Message

Kuhanh Murugasen Krishnan Feb. 12, 2025, 10:35 p.m. UTC
Enabling the possibility of supporting multiple
PCIe devices from Intel Altera FPGA but with different
device ids. The current driver registers itself
to all device IDs which causes an incorrect driver
association.

Signed-off-by: Ang Tien Sung <tien.sung.ang@intel.com>
Signed-off-by: Kuhanh Murugasen Krishnan <kuhanh.murugasen.krishnan@intel.com>
---
 drivers/fpga/altera-cvp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/fpga/altera-cvp.c b/drivers/fpga/altera-cvp.c
index 5af0bd33890c..97e9d4d981ad 100644
--- a/drivers/fpga/altera-cvp.c
+++ b/drivers/fpga/altera-cvp.c
@@ -560,7 +560,7 @@  static int altera_cvp_probe(struct pci_dev *pdev,
 static void altera_cvp_remove(struct pci_dev *pdev);
 
 static struct pci_device_id altera_cvp_id_tbl[] = {
-	{ PCI_VDEVICE(ALTERA, PCI_ANY_ID) },
+	{ PCI_VDEVICE(ALTERA, 0x00) },
 	{ }
 };
 MODULE_DEVICE_TABLE(pci, altera_cvp_id_tbl);