Show
Ignore:
Timestamp:
01/09/04 22:26:54 (9 years ago)
Author:
khali
Message:

Change the way the lm90 driver handles hysteresis. Now similar

to the 2.6 version of the driver.

Files:
1 modified

Legend:

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

    r2207 r2210  
    728728      SENSORS_LM90_REMOTE_TEMP, SENSORS_LM90_REMOTE_TEMP, 
    729729      RW, LM90_SYSCTL_REMOTE_TCRIT, VALUE(1), 0 }, 
    730     { SENSORS_LM90_TCRIT_HYST, "hyst", 
    731       NOMAP, NOMAP, 
    732       RW, LM90_SYSCTL_HYST, VALUE(1), 0, "temp_hyst2", 3 }, 
     730    { SENSORS_LM90_LOCAL_TCRIT_HYST, "hyst1", 
     731      SENSORS_LM90_LOCAL_TCRIT, SENSORS_LM90_LOCAL_TCRIT, 
     732      RW, LM90_SYSCTL_LOCAL_HYST, VALUE(1), 0 }, 
     733    { SENSORS_LM90_REMOTE_TCRIT_HYST, "hyst2", 
     734      SENSORS_LM90_REMOTE_TCRIT, SENSORS_LM90_REMOTE_TCRIT, 
     735      R, LM90_SYSCTL_REMOTE_HYST, VALUE(1), 0 }, 
    733736    { SENSORS_LM90_ALARMS, "alarms", 
    734737      NOMAP, NOMAP,