Changeset 2289

Show
Ignore:
Timestamp:
02/13/04 19:10:43 (9 years ago)
Author:
khali
Message:

Add support for the W83637HF.

Location:
lm-sensors/trunk
Files:
6 modified

Legend:

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

    r2282 r2289  
    596596 
    597597 
    598 chip "w83627thf-*" 
     598chip "w83627thf-*" "w83637hf-*" 
    599599 
    600600# Rather than an internal inverting op amp, the 627thf uses standard positive 
  • lm-sensors/trunk/lib/chips.c

    r2288 r2289  
    47844784                /* Cheat on 83627THF for now - no separate #defines */ 
    47854785 { SENSORS_W83627THF_PREFIX, w83782d_features }, 
     4786                /* Cheat on 83637HF for now - no separate #defines */ 
     4787 { SENSORS_W83637HF_PREFIX, w83782d_features }, 
    47864788 { SENSORS_W83791D_PREFIX, w83791d_features }, 
    47874789 { SENSORS_W83L785TS_PREFIX, w83l785ts_features }, 
  • lm-sensors/trunk/lib/chips.h

    r2280 r2289  
    521521#define SENSORS_W83627HF_PREFIX "w83627hf" 
    522522#define SENSORS_W83627THF_PREFIX "w83627thf" 
     523#define SENSORS_W83637HF_PREFIX "w83637hf" 
    523524 
    524525#define SENSORS_W83791D_PREFIX "w83791d" 
  • lm-sensors/trunk/prog/detect/sensors-detect

    r2283 r2289  
    14361436     { 
    14371437        name => "Winbond W83637HF Super IO Sensors", 
    1438         driver => "to-be-written", 
     1438        driver => "w83627hf", 
    14391439        addrreg => 0x2e, 
    14401440        exitreg => 0x2e, 
  • lm-sensors/trunk/prog/sensors/chips.c

    r2271 r2289  
    20852085  is82d = (!strcmp(name->prefix,"w83782d")) || 
    20862086          (!strcmp(name->prefix,"w83627hf")) || 
     2087          (!strcmp(name->prefix,"w83637hf")) || 
    20872088          (!strcmp(name->prefix,"w83627thf")); 
    20882089  is83s = !strcmp(name->prefix,"w83783s"); 
    2089   is627thf = !strcmp(name->prefix,"w83627thf"); 
     2090  is627thf = (!strcmp(name->prefix,"w83627thf")) || 
     2091             (!strcmp(name->prefix,"w83637hf")); 
    20902092  is697hf  = !strcmp(name->prefix,"w83697hf"); 
    20912093 
  • lm-sensors/trunk/prog/sensors/main.c

    r2261 r2289  
    386386        { "w83627hf", print_w83781d }, 
    387387        { "w83627thf", print_w83781d }, 
     388        { "w83637hf", print_w83781d }, 
    388389        { "w83697hf", print_w83781d }, 
    389390        { "w83791d", print_w83781d },