Changeset 974
- Timestamp:
- 01/07/01 23:13:59 (8 years ago)
- Files:
-
- lm-sensors/trunk/CHANGES (modified) (2 diffs)
- lm-sensors/trunk/doc/chips/lm87 (added)
- lm-sensors/trunk/kernel/chips/lm87.c (modified) (2 diffs)
- lm-sensors/trunk/prog/sensors/chips.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/CHANGES
r966 r974 18 18 ----------------------------------------------------------------------------- 19 19 20 2.5.5 (200 0????)20 2.5.5 (2001????) 21 21 NOTE: i2c 2.5.5 MUST BE be compiled and installed first. 22 22 Chip modules (all): Update mutex definition (works now for new 2.2 kernels) … … 42 42 add adm1025 temp2; report temp limits correctly as 43 43 min/max or limit/hysteresis; print message if no 44 sensors are found. 44 sensors are found. Removed false errors from lm87 reads. 45 45 Program sensors-detect: Add ds1621, mtp008 detection; 46 46 add ServerWorks detection lm-sensors/trunk/kernel/chips/lm87.c
r963 r974 39 39 40 40 41 /* Chip configuration settings. These should be set to reflect 42 the HARDWARE configuration of your chip. By default (read: when all 43 of these are left zero), this driver assumes that the configuration 44 is the same as National's defaults for the Channel Mode register. 41 /* Chip configuration settings. These should be set to reflect the 42 HARDWARE configuration of your chip. By default (read: when all of 43 these are left commented out), this driver assumes that the 44 configuration is the same as National's defaults for the Channel Mode 45 register. 45 46 46 47 Set to '1' the appropriate defines, as nessesary: … … 822 823 } 823 824 824 825 825 void LM87_fan(struct i2c_client *client, int operation, int ctl_name, 826 826 int *nrels_mag, long *results) 827 827 { 828 828 struct LM87_data *data = client->data; 829 int nr = ctl_name - LM87_SYSCTL_FAN1;830 829 831 830 if (operation == SENSORS_PROC_REAL_INFO) lm-sensors/trunk/prog/sensors/chips.c
r963 r974 1300 1300 cur,min,max,alarms&LM87_ALARM_IN0?"ALARM":""); 1301 1301 } 1302 } else 1303 printf("ERROR: Can't get IN0 data!\n"); 1302 } 1304 1303 free_the_label(&label); 1305 1304 if (!sensors_get_label_and_valid(*name,SENSORS_LM87_IN1,&label,&valid) && … … 1324 1323 cur,min,max,alarms&LM87_ALARM_IN2?"ALARM":""); 1325 1324 } 1326 } else 1327 printf("ERROR: Can't get IN2 data!\n"); 1325 } 1328 1326 free_the_label(&label); 1329 1327 if (!sensors_get_label_and_valid(*name,SENSORS_LM87_IN3,&label,&valid) && … … 1360 1358 cur,min,max,alarms&LM87_ALARM_IN5?"ALARM":""); 1361 1359 } 1362 } else 1363 printf("ERROR: Can't get IN5 data!\n"); 1360 } 1364 1361 free_the_label(&label); 1365 1362 if (!sensors_get_label_and_valid(*name,SENSORS_LM87_AIN1,&label,&valid) && … … 1372 1369 cur,min,max,alarms&LM87_ALARM_FAN1?"ALARM":""); 1373 1370 } 1374 } else 1375 printf("ERROR: Can't get AIN1 data!\n"); 1371 } 1376 1372 free_the_label(&label); 1377 1373 if (!sensors_get_label_and_valid(*name,SENSORS_LM87_AIN2,&label,&valid) && … … 1384 1380 cur,min,max,alarms&LM87_ALARM_FAN2?"ALARM":""); 1385 1381 } 1386 } else 1387 printf("ERROR: Can't get AIN2 data!\n"); 1382 } 1388 1383 free_the_label(&label); 1389 1384 … … 1397 1392 cur,min,fdiv, alarms&LM87_ALARM_FAN1?"ALARM":""); 1398 1393 } 1399 } else 1400 printf("ERROR: Can't get FAN1 data!\n"); 1394 } 1401 1395 free_the_label(&label); 1402 1396 if (!sensors_get_label_and_valid(*name,SENSORS_LM87_FAN2,&label,&valid) && … … 1409 1403 cur,min,fdiv, alarms&LM87_ALARM_FAN2 ?"ALARM":""); 1410 1404 } 1411 } else 1412 printf("ERROR: Can't get FAN2 data!\n"); 1405 } 1413 1406 free_the_label(&label); 1414 1407 … … 1451 1444 alarms&LM87_ALARM_TEMP3_FAULT?" FAULT":""); 1452 1445 } 1453 } else 1454 printf("ERROR: Can't get TEMP3 data!\n"); 1446 } 1455 1447 free_the_label(&label); 1456 1448
