2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-29 21:38:17 +00:00

Add support for beep features.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4826 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare 2007-09-20 21:23:19 +00:00
parent 36ded1b5fc
commit 9cf1330eb0
2 changed files with 4 additions and 1 deletions

View File

@ -132,12 +132,14 @@ typedef enum sensors_feature_type {
SENSORS_FEATURE_IN_ALARM = 0x010,
SENSORS_FEATURE_IN_MIN_ALARM,
SENSORS_FEATURE_IN_MAX_ALARM,
SENSORS_FEATURE_IN_BEEP,
SENSORS_FEATURE_FAN = 0x100,
SENSORS_FEATURE_FAN_MIN,
SENSORS_FEATURE_FAN_ALARM = 0x110,
SENSORS_FEATURE_FAN_FAULT,
SENSORS_FEATURE_FAN_DIV,
SENSORS_FEATURE_FAN_BEEP,
SENSORS_FEATURE_TEMP = 0x200,
SENSORS_FEATURE_TEMP_MAX,
@ -152,6 +154,7 @@ typedef enum sensors_feature_type {
SENSORS_FEATURE_TEMP_FAULT,
SENSORS_FEATURE_TEMP_TYPE,
SENSORS_FEATURE_TEMP_OFFSET,
SENSORS_FEATURE_TEMP_BEEP,
SENSORS_FEATURE_VID = 0x1000,

View File

@ -38,7 +38,7 @@
char sensors_sysfs_mount[NAME_MAX];
#define MAX_SENSORS_PER_TYPE 20
#define MAX_SUB_FEATURES 7
#define MAX_SUB_FEATURES 8
/* Room for all 3 types (in, fan, temp) with all their subfeatures + VID
+ misc features */
#define ALL_POSSIBLE_FEATURES (MAX_SENSORS_PER_TYPE * MAX_SUB_FEATURES * 6 \