diff --git a/sonic_platform_base/sonic_xcvr/codes/public/sff8636.py b/sonic_platform_base/sonic_xcvr/codes/public/sff8636.py index 3347bda92..33033c54c 100644 --- a/sonic_platform_base/sonic_xcvr/codes/public/sff8636.py +++ b/sonic_platform_base/sonic_xcvr/codes/public/sff8636.py @@ -60,6 +60,7 @@ class Sff8636Codes(Sff8024): 32: "10GBASE-LR", 64: "10GBASE-LRM", 128: "Extended", + 136: "40GBASE-CR4,Extended" } SONET_COMPLIANCE = { diff --git a/sonic_platform_base/sonic_xcvr/mem_maps/public/sff8636.py b/sonic_platform_base/sonic_xcvr/mem_maps/public/sff8636.py index d91d65a83..2a9032877 100644 --- a/sonic_platform_base/sonic_xcvr/mem_maps/public/sff8636.py +++ b/sonic_platform_base/sonic_xcvr/mem_maps/public/sff8636.py @@ -50,9 +50,7 @@ def __init__(self, codes): ), CodeRegField(consts.CONNECTOR_FIELD, self.get_addr(0, 130), self.codes.CONNECTORS), RegGroupField(consts.SPEC_COMPLIANCE_FIELD, - CodeRegField(consts.ETHERNET_10_40G_COMPLIANCE_FIELD, self.get_addr(0, 131), self.codes.ETHERNET_10_40G_COMPLIANCE, - *(RegBitField("%s_%d" % (consts.ETHERNET_10_40G_COMPLIANCE_FIELD, bit), bit) for bit in range(0, 7)) - ), + CodeRegField(consts.ETHERNET_10_40G_COMPLIANCE_FIELD, self.get_addr(0, 131), self.codes.ETHERNET_10_40G_COMPLIANCE), CodeRegField(consts.SONET_COMPLIANCE_FIELD, self.get_addr(0, 132), self.codes.SONET_COMPLIANCE), CodeRegField(consts.SAS_SATA_COMPLIANCE_FIELD, self.get_addr(0, 133), self.codes.SAS_SATA_COMPLIANCE), CodeRegField(consts.GIGABIT_ETHERNET_COMPLIANCE_FIELD, self.get_addr(0, 134), self.codes.GIGABIT_ETHERNET_COMPLIANCE),