Changeset 2919

Show
Ignore:
Timestamp:
02/28/05 20:04:39 (4 years ago)
Author:
khali
Message:

Support the Linux 2.6 lm92 driver.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/etc/sensors.conf.eg

    r2901 r2919  
    22712271 
    22722272   label temp1 "CPU Diode" 
     2273 
     2274chip "lm92-*" 
     2275 
     2276   label temp "CPU Temp" 
     2277 
     2278# Change limits as you see fit 
     2279#   set temp_low 14 
     2280#   set temp_high 60 
     2281#   set temp_crit 72 
     2282# Hysteresis is computed from critical limit for Linux 2.6, 
     2283# and from high limit for Linux 2.4. That might change in the future. 
     2284# Whatever, the same relative hysteresis is used for all of low, high 
     2285# and critical limits. 
     2286#   set temp_hyst 70 # Linux 2.6 
     2287#   set temp_hyst 58 # Linux 2.4 
  • lm-sensors/trunk/lib/chips.c

    r2888 r2919  
    47484748                       RW, LM92_SYSCTL_TEMP, VALUE(4), 4 }, 
    47494749    { SENSORS_LM92_TEMP_HYST, "temp_hyst", SENSORS_LM92_TEMP, SENSORS_LM92_TEMP, 
    4750                        RW, LM92_SYSCTL_TEMP, VALUE(5), 4 }, 
     4750                       RW, LM92_SYSCTL_TEMP, VALUE(5), 4 , "temp1_crit_hyst", 3 }, 
    47514751    { SENSORS_LM92_ALARMS, "alarms", NOMAP, NOMAP, 
    47524752                       R, LM92_SYSCTL_ALARMS, VALUE(1), 0 }, 
  • lm-sensors/trunk/lib/proc.c

    r2745 r2919  
    488488                { "temp_low", "temp1_min", TEMPMAG }, 
    489489                { "temp_over", "temp1_max", TEMPMAG }, 
     490                { "temp_high", "temp1_max", TEMPMAG }, 
     491                { "temp_crit", "temp1_crit", TEMPMAG }, 
    490492                { "pwm1", "pwm1", 0, "fan1_pwm" }, 
    491493                { "pwm2", "pwm2", 0, "fan2_pwm" },