From 06226ac777833bebf77cf05513667e43406dd876 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Mon, 4 Sep 2023 23:05:25 -0700 Subject: [PATCH] fpga/mqnic: Fix PCIe subsystem vendor IDs on UltraScale devices Signed-off-by: Alex Forencich --- fpga/mqnic/DNPCIe_40G_KU_LL_2QSFP/fpga/rtl/fpga.v | 2 +- fpga/mqnic/NetFPGA_SUME/fpga/rtl/fpga.v | 2 +- fpga/mqnic/Nexus_K35_S/fpga/rtl/fpga.v | 2 +- fpga/mqnic/VCU108/fpga_25g/rtl/fpga.v | 2 +- fpga/mqnic/XUSP3S/fpga_25g/rtl/fpga.v | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fpga/mqnic/DNPCIe_40G_KU_LL_2QSFP/fpga/rtl/fpga.v b/fpga/mqnic/DNPCIe_40G_KU_LL_2QSFP/fpga/rtl/fpga.v index 6bfc062aa..76a9a8a04 100644 --- a/fpga/mqnic/DNPCIe_40G_KU_LL_2QSFP/fpga/rtl/fpga.v +++ b/fpga/mqnic/DNPCIe_40G_KU_LL_2QSFP/fpga/rtl/fpga.v @@ -860,7 +860,7 @@ pcie3_ultrascale_inst ( .cfg_ds_device_number(5'd0), .cfg_ds_function_number(3'd0), - .cfg_subsys_vend_id(16'h1234), + .cfg_subsys_vend_id(BOARD_ID >> 16), .sys_clk(pcie_sys_clk), .sys_clk_gt(pcie_sys_clk_gt), diff --git a/fpga/mqnic/NetFPGA_SUME/fpga/rtl/fpga.v b/fpga/mqnic/NetFPGA_SUME/fpga/rtl/fpga.v index 98f3f0ec9..06e16f3cd 100644 --- a/fpga/mqnic/NetFPGA_SUME/fpga/rtl/fpga.v +++ b/fpga/mqnic/NetFPGA_SUME/fpga/rtl/fpga.v @@ -923,7 +923,7 @@ pcie3_7x_inst ( .cfg_ds_device_number(5'd0), .cfg_ds_function_number(3'd0), - .cfg_subsys_vend_id(16'h1234), + .cfg_subsys_vend_id(BOARD_ID >> 16), .sys_clk(pcie_sys_clk), .sys_reset(!pcie_reset_n) diff --git a/fpga/mqnic/Nexus_K35_S/fpga/rtl/fpga.v b/fpga/mqnic/Nexus_K35_S/fpga/rtl/fpga.v index 0f77c88da..7e0f8b45c 100644 --- a/fpga/mqnic/Nexus_K35_S/fpga/rtl/fpga.v +++ b/fpga/mqnic/Nexus_K35_S/fpga/rtl/fpga.v @@ -809,7 +809,7 @@ pcie3_ultrascale_inst ( .cfg_ds_device_number(5'd0), .cfg_ds_function_number(3'd0), - .cfg_subsys_vend_id(16'h1234), + .cfg_subsys_vend_id(BOARD_ID >> 16), .sys_clk(pcie_sys_clk), .sys_clk_gt(pcie_sys_clk_gt), diff --git a/fpga/mqnic/VCU108/fpga_25g/rtl/fpga.v b/fpga/mqnic/VCU108/fpga_25g/rtl/fpga.v index bbce103f2..cc84a05c5 100644 --- a/fpga/mqnic/VCU108/fpga_25g/rtl/fpga.v +++ b/fpga/mqnic/VCU108/fpga_25g/rtl/fpga.v @@ -881,7 +881,7 @@ pcie3_ultrascale_inst ( .cfg_ds_device_number(5'd0), .cfg_ds_function_number(3'd0), - .cfg_subsys_vend_id(16'h1234), + .cfg_subsys_vend_id(BOARD_ID >> 16), .sys_clk(pcie_sys_clk), .sys_clk_gt(pcie_sys_clk_gt), diff --git a/fpga/mqnic/XUSP3S/fpga_25g/rtl/fpga.v b/fpga/mqnic/XUSP3S/fpga_25g/rtl/fpga.v index 55a110246..eab768dda 100644 --- a/fpga/mqnic/XUSP3S/fpga_25g/rtl/fpga.v +++ b/fpga/mqnic/XUSP3S/fpga_25g/rtl/fpga.v @@ -1002,7 +1002,7 @@ pcie3_ultrascale_inst ( .cfg_ds_device_number(5'd0), .cfg_ds_function_number(3'd0), - .cfg_subsys_vend_id(16'h1234), + .cfg_subsys_vend_id(BOARD_ID >> 16), .sys_clk(pcie_sys_clk), .sys_clk_gt(pcie_sys_clk_gt),