mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-20 19:41:47 +00:00
Undo libsensors' hyst->min not needed anymore since linux
2.6.1-rc1. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2204 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
9e096e8ccf
commit
648fe2056f
2 files changed
+16
-16
No files matched your search
+4
-4
@@ -421,8 +421,8 @@ int sensors_write_proc(sensors_chip_name name, int feature, double value)
|
||||
in%d_max -> in_max%d
|
||||
in%d_min -> in_min%d
|
||||
in%d -> in_input%d
|
||||
temp%d_over -> temp_max%d (to be changed after kernel patch)
|
||||
temp%d_hyst -> temp_min%d ("")
|
||||
temp%d_over -> temp_max%d
|
||||
temp%d_hyst -> temp_hyst%d
|
||||
temp%d_max -> temp_max%d
|
||||
temp%d_high -> temp_max%d
|
||||
temp%d_min -> temp_min%d
|
||||
@@ -458,7 +458,7 @@ int getsysname(const sensors_chip_feature *feature, char *sysname, int *sysmag)
|
||||
{ "remote_temp_low", "temp_min2", TEMPMAG },
|
||||
{ "remote_temp_over", "temp_max2", TEMPMAG },
|
||||
{ "temp", "temp_input1", TEMPMAG },
|
||||
{ "temp_hyst", "temp_min1", TEMPMAG }, /* kernel patch pending for hyst */
|
||||
{ "temp_hyst", "temp_hyst1", TEMPMAG },
|
||||
{ "temp_low", "temp_min1", TEMPMAG },
|
||||
{ "temp_over", "temp_max1", TEMPMAG },
|
||||
{ NULL, NULL }
|
||||
@@ -530,7 +530,7 @@ int getsysname(const sensors_chip_feature *feature, char *sysname, int *sysmag)
|
||||
}
|
||||
|
||||
if(sscanf(name, "temp%d_hys%c%c", &num, &last, &check) == 2 && last == 't') {
|
||||
sprintf(sysname, "temp_min%d", num); /* kernel patch pending for hyst */
|
||||
sprintf(sysname, "temp_hyst%d", num);
|
||||
*sysmag = TEMPMAG;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user