Show
Ignore:
Timestamp:
10/13/04 22:56:17 (10 years ago)
Author:
khali
Message:

Add lm63 support.

Files:
1 modified

Legend:

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

    r2701 r2727  
    851851      NOMAP, NOMAP, 
    852852      R, LM90_SYSCTL_ALARMS, VALUE(1), 0 }, 
     853    { 0 } 
     854  }; 
     855 
     856 
     857static sensors_chip_feature lm63_features[] = 
     858  { 
     859    { SENSORS_LM63_LOCAL_TEMP, "temp1", 
     860      NOMAP, NOMAP, 
     861      R, LM63_SYSCTL_TEMP1, VALUE(2), 0 }, 
     862    { SENSORS_LM63_LOCAL_HIGH, "temp1_high", 
     863      SENSORS_LM63_LOCAL_TEMP, SENSORS_LM63_LOCAL_TEMP, 
     864      RW, LM63_SYSCTL_TEMP1, VALUE(1), 0 }, 
     865    { SENSORS_LM63_REMOTE_TEMP, "temp2", 
     866      NOMAP, NOMAP, 
     867      R, LM63_SYSCTL_TEMP2, VALUE(3), 3 }, 
     868    { SENSORS_LM63_REMOTE_HIGH, "temp2_high", 
     869      SENSORS_LM63_REMOTE_TEMP, SENSORS_LM63_REMOTE_TEMP, 
     870      RW, LM63_SYSCTL_TEMP2, VALUE(1), 3 }, 
     871    { SENSORS_LM63_REMOTE_LOW, "temp2_low", 
     872      SENSORS_LM63_REMOTE_TEMP, SENSORS_LM63_REMOTE_TEMP, 
     873      RW, LM63_SYSCTL_TEMP2, VALUE(2), 3 }, 
     874    { SENSORS_LM63_REMOTE_TCRIT, "temp2_crit", 
     875      SENSORS_LM63_REMOTE_TEMP, SENSORS_LM63_REMOTE_TEMP, 
     876      R, LM63_SYSCTL_TEMP2_TCRIT, VALUE(1), 0 }, 
     877    { SENSORS_LM63_REMOTE_TCRIT_HYST, "temp2_crit_hyst", 
     878      SENSORS_LM63_REMOTE_TEMP, SENSORS_LM63_REMOTE_TEMP, 
     879      RW, LM63_SYSCTL_TEMP2_TCRIT_HYST, VALUE(1), 0 }, 
     880    { SENSORS_LM63_ALARMS, "alarms", 
     881      NOMAP, NOMAP, 
     882      R, LM63_SYSCTL_ALARMS, VALUE(1), 0 }, 
     883    { SENSORS_LM63_FAN_LOW, "fan1_min", 
     884      SENSORS_LM63_FAN, SENSORS_LM63_FAN, 
     885      RW, LM63_SYSCTL_FAN1, VALUE(1), 0 }, 
     886    { SENSORS_LM63_FAN, "fan1", 
     887      NOMAP, NOMAP, 
     888      R, LM63_SYSCTL_FAN1, VALUE(2), 0 }, 
     889    { SENSORS_LM63_PWM, "pwm1", 
     890      NOMAP, NOMAP, 
     891      RW, LM63_SYSCTL_PWM1, VALUE(1), 0 }, 
     892    { SENSORS_LM63_PWM_ENABLE, "pwm1_enable", 
     893      SENSORS_LM63_PWM, NOMAP, 
     894      RW, LM63_SYSCTL_PWM1, VALUE(2), 0 }, 
    853895    { 0 } 
    854896  }; 
     
    52895331 { SENSORS_LM86_PREFIX, lm90_features }, 
    52905332 { SENSORS_MAX6657_PREFIX, lm90_features }, 
     5333 { SENSORS_LM63_PREFIX, lm63_features }, 
    52915334 { SENSORS_MAX1619_PREFIX, max1619_features }, 
    52925335 { SENSORS_XEONTEMP_PREFIX, xeontemp_features },