Show
Ignore:
Timestamp:
09/24/07 13:22:24 (6 years ago)
Author:
khali
Message:

SENSORS_NO_MAPPING is no longer used, delete it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/lib/sensors.h

    r4859 r4871  
    120120#define SENSORS_MODE_W                  2 
    121121#define SENSORS_COMPUTE_MAPPING         4 
    122  
    123 /* This define is used in the mapping field of sensors_subfeature if no 
    124    mapping is available */ 
    125 #define SENSORS_NO_MAPPING -1 
    126122 
    127123typedef enum sensors_feature_type { 
     
    189185     to this subfeature 
    190186   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) 
    195190   flags is a bitfield, its value is a combination of SENSORS_MODE_R (readable), 
    196191     SENSORS_MODE_W (writable) and SENSORS_COMPUTE_MAPPING (affected by the