Files
linux/drivers/fpga
Andy Shevchenko c9243d6df0 fpga: altera-cvp: Use pci_find_vsec_capability() when probing FPGA device
Currently altera_cvp_probe() open-codes pci_find_vsec_capability().
Refactor the former to use the latter.

With that done:
- use the VSEC ID as per datasheet [1]
- update the error message accordingly

Link: https://www.intel.com/content/www/us/en/docs/programmable/683763/23-1/vendor-specific-header-register.html [1]
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Xu Yilun <[email protected]>
Signed-off-by: Xu Yilun <[email protected]>
2025-11-10 15:03:13 +08:00
..
2024-03-31 22:44:21 +08:00