ID: 3608763 - Update sensor_type_desc values to differentiate watchdogs

Previous versions had two values for "Watchdog" in the list which
means that users could not perform # ipmitool sdr type "Watchdog";
and get the IPMI v1.0 and later version of the watchdog sensor,
eg. 0x23 instead of 0x11.

Commit for Dan Gora
This commit is contained in:
Zdenek Styblik 2013-04-09 08:08:20 +00:00
parent 41a44b037f
commit 4aae41904d

View File

@ -809,16 +809,16 @@ static const char *sensor_type_desc[] __attribute__ ((unused)) = {
"Physical Security", "Platform Security", "Processor", "Physical Security", "Platform Security", "Processor",
"Power Supply", "Power Unit", "Cooling Device", "Other", "Power Supply", "Power Unit", "Cooling Device", "Other",
"Memory", "Drive Slot / Bay", "POST Memory Resize", "Memory", "Drive Slot / Bay", "POST Memory Resize",
"System Firmwares", "Event Logging Disabled", "Watchdog", "System Firmwares", "Event Logging Disabled", "Watchdog1",
"System Event", "Critical Interrupt", "Button", "System Event", "Critical Interrupt", "Button",
"Module / Board", "Microcontroller", "Add-in Card", "Module / Board", "Microcontroller", "Add-in Card",
"Chassis", "Chip Set", "Other FRU", "Cable / Interconnect", "Chassis", "Chip Set", "Other FRU", "Cable / Interconnect",
"Terminator", "System Boot Initiated", "Boot Error", "Terminator", "System Boot Initiated", "Boot Error",
"OS Boot", "OS Critical Stop", "Slot / Connector", "OS Boot", "OS Critical Stop", "Slot / Connector",
"System ACPI Power State", "Watchdog", "Platform Alert", "System ACPI Power State", "Watchdog2", "Platform Alert",
"Entity Presence", "Monitor ASIC", "LAN", "Entity Presence", "Monitor ASIC", "LAN",
"Management Subsystem Health", "Battery","Session Audit", "Management Subsys Health", "Battery", "Session Audit",
"Version Change","FRU State" }; "Version Change", "FRU State" };
struct sensor_reading { struct sensor_reading {
char s_id[17]; /* name of the sensor */ char s_id[17]; /* name of the sensor */