From da9252ceba1e63647c53ff8245ae19cb73d07957 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Fri, 13 Jan 2006 18:25:10 +0000 Subject: [PATCH] add supermicro oem type --- ipmitool/include/ipmitool/ipmi_sel.h | 11 ++++++----- ipmitool/lib/ipmi_strings.c | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/ipmitool/include/ipmitool/ipmi_sel.h b/ipmitool/include/ipmitool/ipmi_sel.h index f2f5b0c..2259819 100644 --- a/ipmitool/include/ipmitool/ipmi_sel.h +++ b/ipmitool/include/ipmitool/ipmi_sel.h @@ -528,11 +528,12 @@ static struct ipmi_event_sensor_types sensor_specific_types[] __attribute__((unu /* These values are IANA numbers */ typedef enum IPMI_OEM { - IPMI_OEM_UNKNOWN = 0, - IPMI_OEM_SUN = 42, - IPMI_OEM_INTEL = 343, - IPMI_OEM_NEWISYS = 9237, - IPMI_OEM_KONTRON = 15000 + IPMI_OEM_UNKNOWN = 0, + IPMI_OEM_SUN = 42, + IPMI_OEM_INTEL = 343, + IPMI_OEM_SUPERMICRO = 2168, + IPMI_OEM_NEWISYS = 9237, + IPMI_OEM_KONTRON = 15000 } IPMI_OEM; int ipmi_sel_main(struct ipmi_intf *, int, char **); diff --git a/ipmitool/lib/ipmi_strings.c b/ipmitool/lib/ipmi_strings.c index c863a9e..d1d05a3 100644 --- a/ipmitool/lib/ipmi_strings.c +++ b/ipmitool/lib/ipmi_strings.c @@ -42,11 +42,12 @@ const struct valstr ipmi_oem_info[] = { - { IPMI_OEM_UNKNOWN, "Unknown" }, - { IPMI_OEM_SUN , "Sun Microsystems" }, - { IPMI_OEM_INTEL , "Intel Corporation" }, - { IPMI_OEM_NEWISYS, "Newisys" }, - { IPMI_OEM_KONTRON, "Kontron" }, + { IPMI_OEM_UNKNOWN, "Unknown" }, + { IPMI_OEM_SUN, "Sun Microsystems" }, + { IPMI_OEM_INTEL, "Intel Corporation" }, + { IPMI_OEM_SUPERMICRO, "Supermicro" }, + { IPMI_OEM_NEWISYS, "Newisys" }, + { IPMI_OEM_KONTRON, "Kontron" }, { 0xffff , NULL }, };