061-pcie-conf: fix number of digits

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
Alessandro Comodi 2021-01-13 23:33:32 +01:00
parent ea772f01b6
commit 2e2aa36d84
1 changed files with 22 additions and 22 deletions

View File

@ -120,17 +120,17 @@ hex_params = [
("AER_CAP_VERSION", 4),
("AER_BASE_PTR", 12),
("AER_CAP_NEXTPTR", 12),
("AER_CAP_OPTIONAL_ERR_SUPPORT", 16),
("BAR0", 16),
("BAR1", 16),
("BAR2", 16),
("BAR3", 16),
("BAR4", 16),
("BAR5", 16),
("EXPANSION_ROM", 16),
("AER_CAP_OPTIONAL_ERR_SUPPORT", 24),
("BAR0", 32),
("BAR1", 32),
("BAR2", 32),
("BAR3", 32),
("BAR4", 32),
("BAR5", 32),
("EXPANSION_ROM", 32),
("CAPABILITIES_PTR", 8),
("CARDBUS_CIS_POINTER", 16),
("CLASS_CODE", 16),
("CARDBUS_CIS_POINTER", 32),
("CLASS_CODE", 24),
("CPL_TIMEOUT_RANGES_SUPPORTED", 4),
("DEV_CAP2_TPH_COMPLETER_SUPPORTED", 2),
("DEV_CAP2_MAX_ENDEND_TLP_PREFIXES", 2),
@ -151,8 +151,8 @@ hex_params = [
("MSIX_BASE_PTR", 8),
("MSIX_CAP_ID", 8),
("MSIX_CAP_NEXTPTR", 8),
("MSIX_CAP_PBA_OFFSET", 16),
("MSIX_CAP_TABLE_OFFSET", 16),
("MSIX_CAP_PBA_OFFSET", 29),
("MSIX_CAP_TABLE_OFFSET", 29),
("MSIX_CAP_TABLE_SIZE", 11),
("PCIE_BASE_PTR", 8),
("PCIE_CAP_CAPABILITY_ID", 8),
@ -184,12 +184,12 @@ hex_params = [
("RBAR_CAP_ID", 16),
("RBAR_CAP_VERSION", 4),
("RBAR_NUM", 3),
("RBAR_CAP_SUP0", 16),
("RBAR_CAP_SUP1", 16),
("RBAR_CAP_SUP2", 16),
("RBAR_CAP_SUP3", 16),
("RBAR_CAP_SUP4", 16),
("RBAR_CAP_SUP5", 16),
("RBAR_CAP_SUP0", 32),
("RBAR_CAP_SUP1", 32),
("RBAR_CAP_SUP2", 32),
("RBAR_CAP_SUP3", 32),
("RBAR_CAP_SUP4", 32),
("RBAR_CAP_SUP5", 32),
("RBAR_CAP_INDEX0", 3),
("RBAR_CAP_INDEX1", 3),
("RBAR_CAP_INDEX2", 3),
@ -231,10 +231,10 @@ hex_params = [
("SPARE_BYTE1", 8),
("SPARE_BYTE2", 8),
("SPARE_BYTE3", 8),
("SPARE_WORD0", 16),
("SPARE_WORD1", 16),
("SPARE_WORD2", 16),
("SPARE_WORD3", 16),
("SPARE_WORD0", 32),
("SPARE_WORD1", 32),
("SPARE_WORD2", 32),
("SPARE_WORD3", 32),
]
int_params = [