2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

fix swapped limit and hysteresis on adm9240, sis5595, and

via686a. Thanks Karl Schmidt <karl@xtronics.com>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1029 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2001-02-23 01:02:35 +00:00
parent f7859cbe88
commit f8287b30bd
2 changed files with 11 additions and 9 deletions

10
CHANGES
View File

@@ -22,10 +22,10 @@ ask CVS about it:
If your make fails because it can't find <linux/i2c-proc.h>, you If your make fails because it can't find <linux/i2c-proc.h>, you
forgot this step!!! forgot this step!!!
Also, mkpatch is probably broken right now. Also, mkpatch is probably broken right now.
File doc/FAQ: Updates File doc/FAQ: Many updates and additions
File doc/chips/via686a: Claim support for 686b. File doc/chips/via686a: Claim support for 686b.
File sensors.conf.eg: Adjust as99127f in5 (-12V) and temp2 calculations File sensors.conf.eg: Adjust as99127f in5 (-12V) and temp2 calculations
File sensors.conf.eg: Add lm87 template; enhance help comments in file Add lm87 template; enhance help comments in file
File sensors.c: Add xxx_init() calls for drivers added to mkpatch in 2.5.5. File sensors.c: Add xxx_init() calls for drivers added to mkpatch in 2.5.5.
Include file i2c-isa.h: No longer required, moved to i2c.h in i2c package Include file i2c-isa.h: No longer required, moved to i2c.h in i2c package
Include file sensors.h: Most contents moved to i2c-proc.h in i2c package Include file sensors.h: Most contents moved to i2c-proc.h in i2c package
@@ -36,13 +36,15 @@ ask CVS about it:
Module lm78: Recognize chipid=0x20 Module lm78: Recognize chipid=0x20
Module lm87: Fix in0, in1 (2.5V and Vccp1) calculations Module lm87: Fix in0, in1 (2.5V and Vccp1) calculations
Module mtp008: Fix temp2 max initialization Module mtp008: Fix temp2 max initialization
Save BIOS pin configuration of temps and fans
Module sensors: Disabled, moved to i2c package as i2c-proc.c Module sensors: Disabled, moved to i2c package as i2c-proc.c
Module via686a: Allow force=9191,address (for A7V/K7V boards) Module via686a: Allow force=9191,address (for A7V/K7V boards)
Program mkpatch.pl: Fix adm9240 typos, add more chips to Configure.help Program mkpatch.pl: Fix adm9240 typos, add more chips to Configure.help
Program sensord: Add -d (debug) and -p (pid-file) options Program sensord: Add -d (debug) and -p (pid-file) options
Program sensors: Change reported version from 1.3 to the lm_sensors version. Program sensors: Change reported version from 1.3 to the lm_sensors version.
Fix swapped limit and hysteresis on 9240, 5595, 686a.
Program sensors-detect: Recognize lm78 with chipid=0x20 Program sensors-detect: Recognize lm78 with chipid=0x20
Program sensors-detect: Recognize SMSC Victory66 South Bridge Recognize SMSC Victory66 South Bridge
2.5.5 (20010115) 2.5.5 (20010115)
NOTE: i2c-2.5.5 MUST BE be compiled and installed first, UNLESS NOTE: i2c-2.5.5 MUST BE be compiled and installed first, UNLESS
@@ -113,7 +115,7 @@ ask CVS about it:
Module w83781d: W83783S no longer crashes on unloading Module w83781d: W83783S no longer crashes on unloading
Program sensors-detect: more robustness in case of unknown i2c adapters Program sensors-detect: more robustness in case of unknown i2c adapters
Program sensors-detect, libsensors: fix eeprom size reporting Program sensors-detect, libsensors: fix eeprom size reporting
Program sensord: more flexility, support for alarm scanning etc. Program sensord: more flexibility, support for alarm scanning etc.
Program sensors: support for ignore setting on sensor alarms. Program sensors: support for ignore setting on sensor alarms.
Programs: understand /dev/i2c* files (instead of /dev/i2c-*) too. Programs: understand /dev/i2c* files (instead of /dev/i2c-*) too.

View File

@@ -366,7 +366,7 @@ void print_adm9240(const sensors_chip_name *name)
!sensors_get_feature(*name,SENSORS_ADM9240_TEMP_OVER,&max)) { !sensors_get_feature(*name,SENSORS_ADM9240_TEMP_OVER,&max)) {
if (valid) { if (valid) {
print_label(label,10); print_label(label,10);
print_temp_info( cur, min, max, HYST ); print_temp_info( cur, max, min, HYST );
printf( " %s\n", alarms & ADM9240_ALARM_TEMP ? "ALARM" : "" ); printf( " %s\n", alarms & ADM9240_ALARM_TEMP ? "ALARM" : "" );
} }
} else } else
@@ -485,7 +485,7 @@ void print_sis5595(const sensors_chip_name *name)
!sensors_get_feature(*name,SENSORS_SIS5595_TEMP_OVER,&max)) { !sensors_get_feature(*name,SENSORS_SIS5595_TEMP_OVER,&max)) {
if (valid) { if (valid) {
print_label(label,10); print_label(label,10);
print_temp_info( cur, min, max, HYST ); print_temp_info( cur, max, min, HYST );
printf( " %s\n", alarms & SIS5595_ALARM_TEMP ? "ALARM" : "" ); printf( " %s\n", alarms & SIS5595_ALARM_TEMP ? "ALARM" : "" );
} }
} else } else
@@ -607,7 +607,7 @@ void print_via686a(const sensors_chip_name *name)
!sensors_get_feature(*name,SENSORS_VIA686A_TEMP_OVER,&max)) { !sensors_get_feature(*name,SENSORS_VIA686A_TEMP_OVER,&max)) {
if (valid) { if (valid) {
print_label(label,10); print_label(label,10);
print_temp_info( cur, min, max, HYST ); print_temp_info( cur, max, min, HYST );
printf(" %s\n", alarms & VIA686A_ALARM_TEMP ? "ALARM" : "" ); printf(" %s\n", alarms & VIA686A_ALARM_TEMP ? "ALARM" : "" );
} }
} else } else
@@ -619,7 +619,7 @@ void print_via686a(const sensors_chip_name *name)
!sensors_get_feature(*name,SENSORS_VIA686A_TEMP2_OVER,&max)) { !sensors_get_feature(*name,SENSORS_VIA686A_TEMP2_OVER,&max)) {
if (valid) { if (valid) {
print_label(label,10); print_label(label,10);
print_temp_info( cur, min, max, HYST ); print_temp_info( cur, max, min, HYST );
printf(" %s\n", alarms & VIA686A_ALARM_TEMP2 ? "ALARM" : "" ); printf(" %s\n", alarms & VIA686A_ALARM_TEMP2 ? "ALARM" : "" );
} }
} else } else
@@ -631,7 +631,7 @@ void print_via686a(const sensors_chip_name *name)
!sensors_get_feature(*name,SENSORS_VIA686A_TEMP3_OVER,&max)) { !sensors_get_feature(*name,SENSORS_VIA686A_TEMP3_OVER,&max)) {
if (valid) { if (valid) {
print_label(label,10); print_label(label,10);
print_temp_info( cur, min, max, HYST ); print_temp_info( cur, max, min, HYST );
printf(" %s\n", alarms & VIA686A_ALARM_TEMP3 ? "ALARM" : "" ); printf(" %s\n", alarms & VIA686A_ALARM_TEMP3 ? "ALARM" : "" );
} }
} else } else