Skip to content

Commit d30a448

Browse files
authored
use new file location for sys eeprom and sfp eeprom on msn2700 (#1)
1 parent 3c70401 commit d30a448

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ssw/ACS-MSN2700/bin/eeprom.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
2828
_TLV_INFO_MAX_LEN = 256
2929

3030
def __init__(self, name, path, cpld_root, ro):
31-
self.eeprom_path = "/sys/class/i2c-adapter/i2c-8/8-0051/eeprom"
31+
self.eeprom_path = "/bsp/eeprom/sys_eeprom"
3232
super(board, self).__init__(self.eeprom_path, 0, '', True)
3333

ssw/ACS-MSN2700/bin/sfputil.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class sfputil(sfputilbase):
2121

2222
def __init__(self, port_num):
2323
# Override port_to_eeprom_mapping for class initialization
24-
eeprom_path = '/sys/class/i2c-adapter/i2c-2/2-0048/qsfp{0}_eeprom'
24+
eeprom_path = '/bsp/qsfp/qsfp{0}'
2525
for x in range(0, self.port_end + 1):
2626
self.port_to_eeprom_mapping[x] = eeprom_path.format(x + self.eeprom_offset)
2727
sfputilbase.__init__(self, port_num)
28-
28+

0 commit comments

Comments
 (0)