Skip to content

Commit

Permalink
[sonic_xcvr]Enhance to support QSFP port_id=0xC for access eeprom
Browse files Browse the repository at this point in the history
Signed-off-by: jostar-yang <[email protected]>
  • Loading branch information
jostar-yang authored and tiger_fu committed May 29, 2024
1 parent e4db3d6 commit d1a2e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sonic_platform_base/sonic_xcvr/xcvr_api_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def create_xcvr_api(self):
mem_map = Sff8636MemMap(codes)
xcvr_eeprom = XcvrEeprom(self.reader, self.writer, mem_map)
api = Sff8636Api(xcvr_eeprom)
# QSFP+
elif id == 0x0D:
# QSFP+ or QSFP
elif id == 0x0D or id == 0x0C:
revision_compliance = self._get_revision_compliance()
if revision_compliance >= 3:
codes = Sff8636Codes
Expand Down

0 comments on commit d1a2e17

Please sign in to comment.