Show
Ignore:
Timestamp:
01/05/04 21:39:59 (9 years ago)
Author:
khali
Message:

Undo libsensors' hyst->min not needed anymore since linux

2.6.1-rc1.

Files:
1 modified

Legend:

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

    r2197 r2204  
    422422                in%d_min -> in_min%d 
    423423                in%d -> in_input%d 
    424                 temp%d_over -> temp_max%d (to be changed after kernel patch) 
    425                 temp%d_hyst -> temp_min%d ("") 
     424                temp%d_over -> temp_max%d 
     425                temp%d_hyst -> temp_hyst%d 
    426426                temp%d_max -> temp_max%d 
    427427                temp%d_high -> temp_max%d 
     
    459459                { "remote_temp_over", "temp_max2", TEMPMAG }, 
    460460                { "temp", "temp_input1", TEMPMAG }, 
    461                 { "temp_hyst", "temp_min1", TEMPMAG },          /* kernel patch pending for hyst */ 
     461                { "temp_hyst", "temp_hyst1", TEMPMAG }, 
    462462                { "temp_low", "temp_min1", TEMPMAG }, 
    463463                { "temp_over", "temp_max1", TEMPMAG }, 
     
    531531 
    532532        if(sscanf(name, "temp%d_hys%c%c", &num, &last, &check) == 2 && last == 't') { 
    533                 sprintf(sysname, "temp_min%d", num);    /* kernel patch pending for hyst */ 
     533                sprintf(sysname, "temp_hyst%d", num); 
    534534                *sysmag = TEMPMAG; 
    535535                return 0;