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.
- Support as5812_54t SAI. - Modify as5812_54t periphery. Signed-off-by: derek_sun <derek_sun@edge-core.com>
* Verified as5812_54t platfrom, except SDK and monitor. Signed-off-by: roy_lee <roy_lee@accton.com> * Add as5812-54t to build its debian package. Signed-off-by: roy_lee <roy_lee@accton.com> * Use the right cpld read/write api. Signed-off-by: roy_lee <roy_lee@accton.com> * Update device paths. Signed-off-by: roy_lee <roy_lee@accton.com> * update psu driver, correct python lib location. Signed-off-by: roy_lee <roy_lee@accton.com> * Give a default return value. Signed-off-by: roy_lee <roy_lee@accton.com>