mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
Recognize it87 thermal sensor type 4 as thermistor. This is the
standard value in the sysfs interface, and the it87 driver in kernels 2.6.28 and later will use that. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5342 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
6d7e8cca2a
commit
7d3970e186
2 files changed
+4
-3
No files matched your search
@@ -8,6 +8,7 @@ SVN-HEAD
|
||||
Module i2c-piix4: Minor cleanups (2.6 backport)
|
||||
Program pwmconfig: Fix MINSTOP and MINSTART test functions
|
||||
Change default for MINTEMP from 0 to 20 degrees C
|
||||
Program sensors: Recognize it87 thermal sensor type 4 as thermistor
|
||||
Program sensors-detect: Add VIA VT1212 support
|
||||
Add SMSC EMC2700LPC support
|
||||
Add ITE IT8720 support
|
||||
|
||||
@@ -3458,7 +3458,7 @@ void print_it87(const sensors_chip_name *name)
|
||||
print_label(label,10);
|
||||
print_temp_info( cur, max, min, MINMAX, 0, 0);
|
||||
printf(" sensor = %s ", (((int)sens)==3) ? "diode" :
|
||||
(((int)sens)==2) ? "thermistor" :
|
||||
(((int)sens)==2 || ((int)sens)==4) ? "thermistor" :
|
||||
(((int)sens)==0) ? "disabled" : "invalid");
|
||||
printf( " %s\n", alarms & IT87_ALARM_TEMP1 ? "ALARM" : "" );
|
||||
}
|
||||
@@ -3474,7 +3474,7 @@ void print_it87(const sensors_chip_name *name)
|
||||
print_label(label,10);
|
||||
print_temp_info( cur, max, min, MINMAX, 0, 0);
|
||||
printf(" sensor = %s ", (((int)sens)==3) ? "diode" :
|
||||
(((int)sens)==2) ? "thermistor" :
|
||||
(((int)sens)==2 || ((int)sens)==4) ? "thermistor" :
|
||||
(((int)sens)==0) ? "disabled" : "invalid");
|
||||
printf( " %s\n", alarms & IT87_ALARM_TEMP2 ? "ALARM" : "" );
|
||||
}
|
||||
@@ -3490,7 +3490,7 @@ void print_it87(const sensors_chip_name *name)
|
||||
print_label(label,10);
|
||||
print_temp_info( cur, max, min, MINMAX, 0, 0);
|
||||
printf(" sensor = %s ", (((int)sens)==3) ? "diode" :
|
||||
(((int)sens)==2) ? "thermistor" :
|
||||
(((int)sens)==2 || ((int)sens)==4) ? "thermistor" :
|
||||
(((int)sens)==0) ? "disabled" : "invalid");
|
||||
printf( " %s\n", alarms & IT87_ALARM_TEMP3 ? "ALARM" : "" );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user