From ad18c19da94d5551180278e2cbcaede39091a591 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Sat, 3 Dec 2022 15:33:52 -0800 Subject: [PATCH] fpga/mqnic: Fix default class code for UltraScale and 7-series devices Signed-off-by: Alex Forencich --- fpga/mqnic/NetFPGA_SUME/fpga/ip/pcie3_7x_0.tcl | 4 +++- fpga/mqnic/Nexus_K35_S/fpga/ip/pcie3_ultrascale_0.tcl | 4 +++- fpga/mqnic/VCU108/fpga_25g/ip/pcie3_ultrascale_0.tcl | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/fpga/mqnic/NetFPGA_SUME/fpga/ip/pcie3_7x_0.tcl b/fpga/mqnic/NetFPGA_SUME/fpga/ip/pcie3_7x_0.tcl index 1bde475fb..ee6c83d99 100644 --- a/fpga/mqnic/NetFPGA_SUME/fpga/ip/pcie3_7x_0.tcl +++ b/fpga/mqnic/NetFPGA_SUME/fpga/ip/pcie3_7x_0.tcl @@ -12,7 +12,9 @@ set_property -dict [list \ CONFIG.extended_tag_field {true} \ CONFIG.pf0_dev_cap_max_payload {1024_bytes} \ CONFIG.axisten_freq {250} \ - CONFIG.PF0_CLASS_CODE {020000} \ + CONFIG.pf0_class_code_base {02} \ + CONFIG.pf0_class_code_sub {00} \ + CONFIG.pf0_class_code_interface {00} \ CONFIG.PF0_DEVICE_ID {1001} \ CONFIG.PF0_SUBSYSTEM_ID {7028} \ CONFIG.PF0_SUBSYSTEM_VENDOR_ID {10ee} \ diff --git a/fpga/mqnic/Nexus_K35_S/fpga/ip/pcie3_ultrascale_0.tcl b/fpga/mqnic/Nexus_K35_S/fpga/ip/pcie3_ultrascale_0.tcl index 7cb740552..5231ddf94 100644 --- a/fpga/mqnic/Nexus_K35_S/fpga/ip/pcie3_ultrascale_0.tcl +++ b/fpga/mqnic/Nexus_K35_S/fpga/ip/pcie3_ultrascale_0.tcl @@ -10,7 +10,9 @@ set_property -dict [list \ CONFIG.extended_tag_field {true} \ CONFIG.pf0_dev_cap_max_payload {1024_bytes} \ CONFIG.axisten_freq {250} \ - CONFIG.PF0_CLASS_CODE {020000} \ + CONFIG.pf0_class_code_base {02} \ + CONFIG.pf0_class_code_sub {00} \ + CONFIG.pf0_class_code_interface {00} \ CONFIG.PF0_DEVICE_ID {1001} \ CONFIG.PF0_SUBSYSTEM_ID {0003} \ CONFIG.PF0_SUBSYSTEM_VENDOR_ID {1ce4} \ diff --git a/fpga/mqnic/VCU108/fpga_25g/ip/pcie3_ultrascale_0.tcl b/fpga/mqnic/VCU108/fpga_25g/ip/pcie3_ultrascale_0.tcl index d5aa67ced..19d60ac67 100644 --- a/fpga/mqnic/VCU108/fpga_25g/ip/pcie3_ultrascale_0.tcl +++ b/fpga/mqnic/VCU108/fpga_25g/ip/pcie3_ultrascale_0.tcl @@ -9,7 +9,9 @@ set_property -dict [list \ CONFIG.extended_tag_field {true} \ CONFIG.pf0_dev_cap_max_payload {1024_bytes} \ CONFIG.axisten_freq {250} \ - CONFIG.PF0_CLASS_CODE {020000} \ + CONFIG.pf0_class_code_base {02} \ + CONFIG.pf0_class_code_sub {00} \ + CONFIG.pf0_class_code_interface {00} \ CONFIG.PF0_DEVICE_ID {1001} \ CONFIG.PF0_SUBSYSTEM_ID {806c} \ CONFIG.PF0_SUBSYSTEM_VENDOR_ID {10ee} \