Skip to content

Commit

Permalink
Update cmis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AnoopKamath authored Aug 11, 2023
1 parent 9aea964 commit e3c1962
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sonic_platform_base/sonic_xcvr/api/public/cmis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2102,7 +2102,7 @@ def set_application(self, channel, appl_code, ec=0):
data|= ec
self.xcvr_eeprom.write(addr, data)

def stage_datapath_init(self, channel):
def scs_apply_datapath_init(self, channel):
'''
This function applies DataPathInit
'''
Expand Down Expand Up @@ -2317,7 +2317,7 @@ def stage_fixed_input_target_tx(self, host_lanes_mask, si_settings_dict):
return False
return True

def stage_adaptive_input_recall_tx(self, host_lanes_mask, si_settings_dict):
def stage_adaptive_input_eq_recall_tx(self, host_lanes_mask, si_settings_dict):
'''
This function applies adaptive TX input recall si settings.
'''
Expand Down Expand Up @@ -2380,7 +2380,7 @@ def stage_tx_si_settings(self, host_lanes_mask, si_settings_dict):
return False
elif si_param == consts.ADAPTIVE_INPUT_EQ_RECALLED_TX:
if self.get_tx_input_recall_buf1_supported() or self.get_tx_input_recall_buf2_supported():
if not self.stage_adaptive_input_recall_tx(host_lanes_mask, si_settings_dict[si_param]):
if not self.stage_adaptive_input_eq_recall_tx(host_lanes_mask, si_settings_dict[si_param]):
return False
elif si_param == consts.ADAPTIVE_INPUT_EQ_ENABLE_TX:
if self.get_tx_input_adaptive_eq_supported():
Expand Down

0 comments on commit e3c1962

Please sign in to comment.