From 9caa78be38f2bdf1f3c03571f0c7310a1cb486b7 Mon Sep 17 00:00:00 2001 From: Parthasarathy Bhuvaragan Date: Mon, 16 Feb 2015 10:12:46 +0100 Subject: [PATCH] ID:371 - add ericsson oem Change-Id: I4fa230b2388e83ae0bc560539675d4dd8783a33e Signed-off-by: Parthasarathy Bhuvaragan --- include/ipmitool/ipmi.h | 1 + lib/ipmi_strings.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/include/ipmitool/ipmi.h b/include/ipmitool/ipmi.h index 4d17698..5800e1b 100644 --- a/include/ipmitool/ipmi.h +++ b/include/ipmitool/ipmi.h @@ -260,6 +260,7 @@ typedef enum IPMI_OEM { IPMI_OEM_HITACHI_116 = 116, IPMI_OEM_NEC = 119, IPMI_OEM_TOSHIBA = 186, + IPMI_OEM_ERICSSON = 193, IPMI_OEM_INTEL = 343, IPMI_OEM_TATUNG = 373, IPMI_OEM_HITACHI_399 = 399, diff --git a/lib/ipmi_strings.c b/lib/ipmi_strings.c index aecb3e2..9472541 100644 --- a/lib/ipmi_strings.c +++ b/lib/ipmi_strings.c @@ -68,6 +68,7 @@ const struct valstr ipmi_oem_info[] = { { IPMI_OEM_BULL, "Bull Company" }, { IPMI_OEM_PPS, "Pigeon Point Systems" }, { IPMI_OEM_BROADCOM, "Broadcom Corporation" }, + { IPMI_OEM_ERICSSON, "Ericsson AB"}, { IPMI_OEM_QUANTA, "Quanta" }, { 0xffff , NULL }, }; @@ -116,6 +117,8 @@ const struct oemvalstr ipmi_oem_product_info[] = { { IPMI_OEM_KONTRON,5303, "AT8901" }, /* Broadcom */ { IPMI_OEM_BROADCOM, 5725, "BCM5725" }, + /* Ericsson */ + { IPMI_OEM_ERICSSON, 0x0054, "Phantom" }, { 0xffffff , 0xffff , NULL }, };