Merge pull request #614 from zhouzi88/swl-5644

SWL-5644 export SFP DOM content through optoe2 on sysfs for as7726
This commit is contained in:
Zi Zhou
2019-09-12 10:53:48 -07:00
committed by GitHub

View File

@@ -140,7 +140,7 @@ class OnlPlatform_x86_64_accton_as7726_32x_r0(OnlPlatformAccton,
# initialize SFP port 33~34
for port in range(33, 35):
self.new_i2c_device('optoe1', 0x50, port-18)
self.new_i2c_device('optoe2', 0x50, port-18)
subprocess.call('echo port%d > /sys/bus/i2c/devices/%d-0050/port_name' % (port, port-18), shell=True)
self.new_i2c_device('24c02', 0x56, 0)