mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-11-03 03:38:18 +00:00
Fixed sensor names for Anaconda system
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
This commit is contained in:
@@ -213,7 +213,7 @@ _psu_info_get_type3(onlp_psu_info_t* info)
|
||||
info->mvin = val;
|
||||
info->caps |= ONLP_PSU_CAPS_VIN;
|
||||
|
||||
if (psu_power_info_get(index, "volt3", &val) == 0) {
|
||||
if (psu_power_info_get(index, "volt_out2", &val) == 0) {
|
||||
info->mvout = val;
|
||||
info->caps |= ONLP_PSU_CAPS_VOUT;
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ static onlp_led_info_t linfo_c[] =
|
||||
ONLP_LED_CAPS_ORANGE | ONLP_LED_CAPS_ORANGE_BLINKING | ONLP_LED_CAPS_AUTO,
|
||||
},
|
||||
{
|
||||
{ ONLP_LED_ID_CREATE(LED_FAN4), "Chassis LED 5 (FAN5 (7-8) )", 0 },
|
||||
{ ONLP_LED_ID_CREATE(LED_FAN4), "Chassis LED 5 (FAN4 (7-8) )", 0 },
|
||||
ONLP_LED_STATUS_PRESENT,
|
||||
ONLP_LED_CAPS_ON_OFF | ONLP_LED_CAPS_GREEN | ONLP_LED_CAPS_GREEN_BLINKING |
|
||||
ONLP_LED_CAPS_ORANGE | ONLP_LED_CAPS_ORANGE_BLINKING | ONLP_LED_CAPS_AUTO,
|
||||
|
||||
@@ -113,7 +113,7 @@ static char* thermal_fnames_c[] = /* must map with onlp_thermal_id */
|
||||
"cpu_core1",
|
||||
"cpu_pack",
|
||||
"asic",
|
||||
"board_amb",
|
||||
"fan_amb",
|
||||
"port_amb",
|
||||
"psu1",
|
||||
"psu2"
|
||||
|
||||
Reference in New Issue
Block a user