Skip to content

Instantly share code, notes, and snippets.

@fhriley
Last active September 7, 2020 13:06
Show Gist options
  • Save fhriley/8817ecb456868111ffc49383d0812418 to your computer and use it in GitHub Desktop.
Save fhriley/8817ecb456868111ffc49383d0812418 to your computer and use it in GitHub Desktop.
if self.baseboard == 'sfp':
cmd = '%s/xgige_sfp_i2c_config.py %d' % (self.exec_dir, ii)
os.system(cmd)
cmd = '%s/xgige_sfp_phy_config.py %d %s %s' % (self.exec_dir, ii, self.phy_type, self.range)
os.system(cmd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment