sonic-buildimage/platform/broadcom/sonic-platform-modules-accton/as9716-32d/modules
jostar-yang 3e7228d45c
[AS9716-32D]Support multi PSU SN in PDDF (#8214)
Add needed code to pddf_custom_psu.c to deal with multi PSU and get SN.

How to verify it
Plugin new PSU (3Y) and test,

```
root@sonic:/sys/bus/i2c/drivers/psu/9-0050# cat psu_serial_num
S0A000X601919000013
root@sonic:/sys/bus/i2c/drivers/psu/9-0050# cat psu_model_name
YESM1300AM
root@sonic:/home/admin# pddf_psuutil mfrinfo
PSU Status Manufacturer ID Model Serial Fan Airflow Direction

PSU1 NOT OK 3Y POWER YESM1300AM S0A000X601919000007 exhaust
PSU2 OK 3Y POWER YESM1300AM S0A000X601919000013 exhaust
```

Co-authored-by: Jostar Yang <jostar_yang@accton.com.tw>
2021-07-24 16:30:11 -07:00
..
accton_as9716_32d_cpld.c [accton/as9716-32d] add support get_transceiver_change_event (#4105) 2020-04-22 22:54:48 -07:00
accton_as9716_32d_fan.c
accton_as9716_32d_leds.c
accton_as9716_32d_psu.c
accton_i2c_psu.c
Makefile [as9716-32d] Add to support PDDF (#6902) 2021-04-14 14:43:52 -07:00
pddf_custom_psu.c [AS9716-32D]Support multi PSU SN in PDDF (#8214) 2021-07-24 16:30:11 -07:00