Show
Ignore:
Timestamp:
11/12/06 14:17:32 (7 years ago)
Author:
khali
Message:

Add user-space support for the Fintek F71872F/FG (chip name f71872f).

Files:
1 modified

Legend:

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

    r4214 r4232  
    60326032  double cur, min, max; 
    60336033  int alarms, valid, i; 
     6034  const int is_f71872f = !strcmp(name->prefix, "f71872f"); 
    60346035 
    60356036  if (!sensors_get_feature(*name, SENSORS_F71805F_ALARMS_IN, &cur)) 
     
    60406041  } 
    60416042 
    6042   for (i = 0; i < 9; i++) { 
     6043  for (i = 0; i < (is_f71872f ? 11 : 9); i++) { 
    60436044    if (!sensors_get_label_and_valid(*name, SENSORS_F71805F_IN(i), 
    60446045        &label, &valid)