Show
Ignore:
Timestamp:
06/21/10 11:02:30 (4 years ago)
Author:
khali
Message:

Map individual beep features. We had symbols for them for a long time,
I have no idea why they weren't mapped to the sysfs file names.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/lib/sysfs.c

    r5827 r5843  
    229229        { "type", SENSORS_SUBFEATURE_TEMP_TYPE }, 
    230230        { "offset", SENSORS_SUBFEATURE_TEMP_OFFSET }, 
     231        { "beep", SENSORS_SUBFEATURE_TEMP_BEEP }, 
    231232        { NULL, 0 } 
    232233}; 
     
    239240        { "min_alarm", SENSORS_SUBFEATURE_IN_MIN_ALARM }, 
    240241        { "max_alarm", SENSORS_SUBFEATURE_IN_MAX_ALARM }, 
     242        { "beep", SENSORS_SUBFEATURE_IN_BEEP }, 
    241243        { NULL, 0 } 
    242244}; 
     
    248250        { "alarm", SENSORS_SUBFEATURE_FAN_ALARM }, 
    249251        { "fault", SENSORS_SUBFEATURE_FAN_FAULT }, 
     252        { "beep", SENSORS_SUBFEATURE_FAN_BEEP }, 
    250253        { NULL, 0 } 
    251254}; 
     
    274277        { "min_alarm", SENSORS_SUBFEATURE_CURR_MIN_ALARM }, 
    275278        { "max_alarm", SENSORS_SUBFEATURE_CURR_MAX_ALARM }, 
     279        { "beep", SENSORS_SUBFEATURE_CURR_BEEP }, 
    276280        { NULL, 0 } 
    277281};