Changeset 2527

Show
Ignore:
Timestamp:
05/12/04 22:05:14 (9 years ago)
Author:
khali
Message:

Add ASB100 support. Patch by Andrew May.

Files:
1 modified

Legend:

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

    r2511 r2527  
    959959}; 
    960960 
     961/** ASB100 **/ 
     962 
     963static const char *asb100_names[] = { 
     964        SENSORS_ASB100_PREFIX, NULL 
     965}; 
     966 
     967static const FeatureDescriptor asb100_features[] = { 
     968  { fmtVolts_2, rrdF2, DataType_voltage, 0, 0, 
     969    { SENSORS_ASB100_IN0, SENSORS_ASB100_IN0_MIN, SENSORS_ASB100_IN0_MAX, -1 } }, 
     970  { fmtVolts_2, rrdF2, DataType_voltage, 0, 0, 
     971    { SENSORS_ASB100_IN1, SENSORS_ASB100_IN1_MIN, SENSORS_ASB100_IN1_MAX, -1 } }, 
     972  { fmtVolts_2, rrdF2, DataType_voltage, 0, 0, 
     973    { SENSORS_ASB100_IN2, SENSORS_ASB100_IN2_MIN, SENSORS_ASB100_IN2_MAX, -1 } }, 
     974  { fmtVolts_2, rrdF2, DataType_voltage, 0, 0, 
     975    { SENSORS_ASB100_IN3, SENSORS_ASB100_IN3_MIN, SENSORS_ASB100_IN3_MAX, -1 } }, 
     976  { fmtVolts_2, rrdF2, DataType_voltage, 0, 0, 
     977    { SENSORS_ASB100_IN4, SENSORS_ASB100_IN4_MIN, SENSORS_ASB100_IN4_MAX, -1 } }, 
     978  { fmtVolts_2, rrdF2, DataType_voltage, 0, 0, 
     979    { SENSORS_ASB100_IN5, SENSORS_ASB100_IN5_MIN, SENSORS_ASB100_IN5_MAX, -1 } }, 
     980  { fmtVolts_2, rrdF2, DataType_voltage, 0, 0, 
     981    { SENSORS_ASB100_IN6, SENSORS_ASB100_IN6_MIN, SENSORS_ASB100_IN6_MAX, -1 } }, 
     982 
     983  { fmtFans_0, rrdF0, DataType_rpm, 0, 0, 
     984    { SENSORS_ASB100_FAN1, SENSORS_ASB100_FAN1_MIN, -1 } }, 
     985  { fmtFans_0, rrdF0, DataType_rpm, 0, 0, 
     986    { SENSORS_ASB100_FAN2, SENSORS_ASB100_FAN2_MIN, -1 } }, 
     987  { fmtFans_0, rrdF0, DataType_rpm, 0, 0, 
     988    { SENSORS_ASB100_FAN3, SENSORS_ASB100_FAN3_MIN, -1 } }, 
     989 
     990  { fmtTemps_1_0, rrdF1, DataType_temperature, 0, 0, 
     991    { SENSORS_ASB100_TEMP1, SENSORS_ASB100_TEMP1_HYST, SENSORS_ASB100_TEMP1_OVER, -1 } }, 
     992  { fmtTemps_1_0, rrdF1, DataType_temperature, 0, 0, 
     993    { SENSORS_ASB100_TEMP2, SENSORS_ASB100_TEMP2_HYST, SENSORS_ASB100_TEMP2_OVER, -1 } }, 
     994  { fmtTemps_1_0, rrdF1, DataType_temperature, 0, 0, 
     995    { SENSORS_ASB100_TEMP3, SENSORS_ASB100_TEMP3_HYST, SENSORS_ASB100_TEMP3_OVER, -1 } }, 
     996  { fmtTemps_1_0, rrdF1, DataType_temperature, 0, 0, 
     997    { SENSORS_ASB100_TEMP4, SENSORS_ASB100_TEMP4_HYST, SENSORS_ASB100_TEMP4_OVER, -1 } }, 
     998 
     999  { NULL } 
     1000}; 
     1001 
     1002static const ChipDescriptor asb100_chip = { 
     1003  asb100_names, asb100_features, 0, 0 
     1004}; 
     1005 
    9611006/** EEPROM **/ 
    9621007 
     
    10271072  &w83697hf_chip, 
    10281073  &it87_chip, 
     1074  &asb100_chip, 
    10291075  NULL 
    10301076};