Co-authored-by: Jostar Yang <jostar_yang@accton.com.tw>
* [AS9716-32D]:Support 0x57 and 0x56 eeprom * Add checking sysfs use 0x57 or 0x56 Co-authored-by: Jostar Yang <jostar_yang@accton.com.tw>
Modify get_psu_presence(). Move read() and close() to "try: ... except IOError:" To avoid when read port present sysfs fail. This exception will let sfputil.py to exit. So "sfputil show eeprom" can't show other port status.