From 9da8da5778de6de8bcb98940ea85dcaba889cf98 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sat, 16 Nov 2002 18:23:54 +0000 Subject: [PATCH] add BMC entries git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1611 7894878c-1315-0410-8ee3-d5d059ff63e0 --- lib/chips.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lib/chips.h b/lib/chips.h index f5fa699a..35b34218 100644 --- a/lib/chips.h +++ b/lib/chips.h @@ -1267,4 +1267,21 @@ #define SENSORS_VT8231_VRM 83 /* RW */ #define SENSORS_VT8231_UCH 84 /* RW */ +#define SENSORS_BMC_PREFIX "bmc" + +/* quantity of each sensor is unknown, so just define the + first one of each and keep them 100 apart. */ +#define SENSORS_BMC_ALARMS 1 /* R */ +#define SENSORS_BMC_IN1 101 /* R */ +#define SENSORS_BMC_IN1_MIN 201 /* RW */ +#define SENSORS_BMC_IN1_MAX 301 /* RW */ +#define SENSORS_BMC_FAN1 1001 /* R */ +#define SENSORS_BMC_FAN1_MIN 1101 /* RW */ +#define SENSORS_BMC_TEMP1 2001 /* R */ +#define SENSORS_BMC_TEMP1_MIN 2101 /* RW */ +#define SENSORS_BMC_TEMP1_MAX 2201 /* RW */ +#define SENSORS_BMC_CURR1 3001 /* R */ +#define SENSORS_BMC_CURR1_MIN 3101 /* RW */ +#define SENSORS_BMC_CURR1_MAX 3201 /* RW */ + #endif /* def LIB_SENSORS_CHIPS_H */