Changeset 2313

Show
Ignore:
Timestamp:
02/23/04 21:25:27 (9 years ago)
Author:
khali
Message:

w83781d driver doesn't support ASB100 anymore.

Location:
lm-sensors/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/doc/chips/w83781d

    r1909 r2313  
    1010        AS99127F support is BETA and has known problems due to lack of a 
    1111                 chip datasheet. SEE BELOW. 
    12         ASB100 Bach support is BETA; presently this chip is treated 
    13                 exactly like AS99127F. 
    1412 
    1513Supported chips: 
     
    2422  * Winbond W83783S 
    2523    Prefix 'w83783s' 
    26     Addresses scanned: I2C 0x20 - 0x2f (inclusive) 
     24    Addresses scanned: I2C 0x2d 
    2725    Datasheet: Publicly available at the Winbond website 
    2826  * Winbond W83791D 
    2927    Prefix 'w83791d' 
    30     Addresses scanned: I2C 0x20 - 0x2f (inclusive) 
     28    Addresses scanned: I2C 0x2c - 0x2f (inclusive) 
    3129    Datasheet: Publicly available at the Winbond website 
    3230  * Winbond W83627HF 
     
    4038  * Asus AS99127F 
    4139    Prefix 'as99127f' 
    42     Addresses scanned: I2C 0x20 - 0x2f (inclusive) 
    43     Datasheet: Unavailable from Asus 
    44   * Asus ASB100 Bach 
    45     Prefix 'as99127f' 
    46     Addresses scanned: I2C 0x20 - 0x2f (inclusive) 
     40    Addresses scanned: I2C 0x28 - 0x2f (inclusive) 
    4741    Datasheet: Unavailable from Asus 
    4842 
     
    9690 
    9791This driver implements support for the Winbond W83781D, W83782D, 
    98 W8783S, and W83627HF chips, and the Asus AS99127F/ASB100 chips. 
     92W8783S, and W83627HF chips, and the Asus AS99127F chips. 
    9993We will refer to them collectively as W8378* chips. 
    10094 
     
    192186 
    193187 
    194 AS99127F/ASB100 PROBLEMS 
     188AS99127F PROBLEMS 
    195189----------------- 
    196 The as99127f/asb100 support was developed without the benefit of a datasheet. 
     190The as99127f support was developed without the benefit of a datasheet. 
    197191In most cases it is treated as a w83781d. 
    198192This support will be BETA until a datasheet is released. 
  • lm-sensors/trunk/etc/sensors.conf.eg

    r2308 r2313  
    699699#   compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14 
    700700#   compute in6 (3.14 * @) -  7.71 , (@ +  7.71) / 3.14 
    701 # ASB100 Bach (contributed by Alex van Kaam) 
    702 #   compute in5 -(240/60.4)*@  ,  -@/(240/60.4) 
    703 #   compute in6 -(5/3)*@       ,  -@/(5/3) 
    704701 
    705702# Depending on your motherboard, you have to choose between three formulae 
     
    721718# to work for temp3. 
    722719    compute temp3 @*2.0, @/2.0 
    723  
    724 # ASB100's temp4 isn't supported by the w83781d driver. 
    725720 
    726721# Most Asus boards have temperatures settled like that: 
  • lm-sensors/trunk/kernel/chips/w83781d.c

    r2302 r2313  
    2727    as99127f    7       3       1?      3       0x31    0x12c3  yes     no 
    2828    as99127f rev.2 (type name = as99127f)       0x31    0x5ca3  yes     no 
    29     asb100 "bach" (type_name = as99127f)        0x31    0x0694  yes     no 
    3029    w83627hf    9       3       2       3       0x21    0x5ca3  yes     yes(LPC) 
    3130    w83697hf    8       2       2       2       0x60    0x5ca3  no      yes(LPC) 
     
    857856                /* Check for Winbond or Asus ID if in bank 0 */ 
    858857                if ((!(val1 & 0x07)) && 
    859                     (((!(val1 & 0x80)) && (val2 != 0xa3) && (val2 != 0xc3)  
    860                          && (val2 != 0x94)) 
    861                      || ((val1 & 0x80) && (val2 != 0x5c) && (val2 != 0x12) 
    862                          && (val2 != 0x06)))) { 
     858                    (((!(val1 & 0x80)) && (val2 != 0xa3) && (val2 != 0xc3)) 
     859                     || ((val1 & 0x80) && (val2 != 0x5c) && (val2 != 0x12)))) { 
    863860                        err = -ENODEV; 
    864861                        goto ERROR1; 
    865862                } 
    866                 /* If Winbond SMBus, check address at 0x48. Asus doesn't support 
    867                    except maybe (hopefully) for the as99127f rev.2 */ 
     863                /* If Winbond SMBus, check address at 0x48. 
     864                   Asus doesn't support, except for the as99127f rev.2 */ 
    868865                if ((!is_isa) && (((!(val1 & 0x80)) && (val2 == 0xa3)) || 
    869866                                  ((val1 & 0x80) && (val2 == 0x5c)))) { 
     
    889886                if (val2 == 0x5c) 
    890887                        vendid = winbond; 
    891                 else if ((val2 == 0x12) || (val2 == 0x06)) 
     888                else if (val2 == 0x12) 
    892889                        vendid = asus; 
    893890                else {