[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freeipmi-devel] [PATCH] Add support for Supermicro H8DGU-F to ipmi-sens
From: |
Diego Elio Pettenò |
Subject: |
[Freeipmi-devel] [PATCH] Add support for Supermicro H8DGU-F to ipmi-sensors. |
Date: |
Sat, 5 May 2012 10:44:51 -0700 |
Signed-off-by: Diego Elio Pettenò <address@hidden>
---
.../include/freeipmi/spec/ipmi-product-id-spec.h | 1 +
.../util/ipmi-sensor-and-event-code-tables-util.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h
b/libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h
index 516c5f9..5c5a0df 100644
--- a/libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h
+++ b/libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h
@@ -219,6 +219,7 @@ extern "C" {
#define IPMI_SUPERMICRO_PRODUCT_ID_X8DTNPLUS_F 1551
#define IPMI_SUPERMICRO_PRODUCT_ID_X8SIE 1037
#define IPMI_SUPERMICRO_PRODUCT_ID_X9SCA_F_O 1585
+#define IPMI_SUPERMICRO_PRODUCT_ID_H8DGU_F 43025
/* Seen in the wild w/ proper IANA number 10876 */
/* defined above: IPMI_SUPERMICRO_PRODUCT_ID_X9SCM */
diff --git a/libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c
b/libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c
index 0e9c475..68d2718 100644
--- a/libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c
+++ b/libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c
@@ -2153,7 +2153,8 @@ _supermicro_oem_temp_level_sensor_supported (uint32_t
manufacturer_id, uint16_t
|| product_id == IPMI_SUPERMICRO_PRODUCT_ID_X9SCM
|| product_id == IPMI_SUPERMICRO_PRODUCT_ID_X8DTNPLUS_F
|| product_id == IPMI_SUPERMICRO_PRODUCT_ID_X8SIE
- || product_id == IPMI_SUPERMICRO_PRODUCT_ID_X9SCA_F_O))
+ || product_id == IPMI_SUPERMICRO_PRODUCT_ID_X9SCA_F_O
+ || product_id == IPMI_SUPERMICRO_PRODUCT_ID_H8DGU_F))
|| (manufacturer_id == IPMI_IANA_ENTERPRISE_ID_MAGNUM_TECHNOLOGIES
&& product_id == IPMI_SUPERMICRO_PRODUCT_ID_X8DTL))
return (1);
--
1.7.8.6
- [Freeipmi-devel] [PATCH] Add support for Supermicro H8DGU-F to ipmi-sensors.,
Diego Elio Pettenò <=