Changeset 4871
- Timestamp:
- 09/24/07 13:22:24 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/lib/sensors.h
r4859 r4871 120 120 #define SENSORS_MODE_W 2 121 121 #define SENSORS_COMPUTE_MAPPING 4 122 123 /* This define is used in the mapping field of sensors_subfeature if no124 mapping is available */125 #define SENSORS_NO_MAPPING -1126 122 127 123 typedef enum sensors_feature_type { … … 189 185 to this subfeature 190 186 type is the subfeature type 191 mapping is either SENSORS_NO_MAPPING if this subfeature is the 192 main element of category; or it is the number of a subfeature with which 193 this subfeature is logically grouped (a group could be fan, fan_min 194 and fan_div) 187 mapping is the number of a main feature this subfeature belongs to 188 (for example subfeatures fan1_input, fan1_min, fan1_div and fan1_alarm 189 are mapped to main feature fan1) 195 190 flags is a bitfield, its value is a combination of SENSORS_MODE_R (readable), 196 191 SENSORS_MODE_W (writable) and SENSORS_COMPUTE_MAPPING (affected by the
