mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-09 16:21:51 +00:00
adjust some mappings; map hyst to min to match what's in kernel -test8/9
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2081 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
5b3e375ef9
commit
a978c11e94
1 file changed
+9
-9
+9
-9
@@ -395,14 +395,14 @@ struct match *m;
|
||||
struct match matches[] = {
|
||||
{ "beeps", "beep_mask", 0 },
|
||||
{ "pwm", "pwm1", 0 },
|
||||
{ "rempte_temp", "temp_input1", TEMPMAG },
|
||||
{ "remote_temp_hyst", "temp_hyst1", TEMPMAG },
|
||||
{ "remote_temp_low", "temp_min1", TEMPMAG },
|
||||
{ "remote_temp_over", "temp_max1", TEMPMAG },
|
||||
{ "temp", "temp_input0", TEMPMAG },
|
||||
{ "temp_hyst", "temp_hyst0", TEMPMAG },
|
||||
{ "temp_low", "temp_min0", TEMPMAG },
|
||||
{ "temp_over", "temp_max0", TEMPMAG },
|
||||
{ "rempte_temp", "temp_input2", TEMPMAG },
|
||||
{ "remote_temp_hyst", "temp_hyst2", TEMPMAG },
|
||||
{ "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_low", "temp_min1", TEMPMAG },
|
||||
{ "temp_over", "temp_max1", TEMPMAG },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
@@ -472,7 +472,7 @@ struct match matches[] = {
|
||||
}
|
||||
|
||||
if(sscanf(name, "temp%d_hys%c%c", &num, &last, &check) == 2 && last == 't') {
|
||||
sprintf(sysname, "temp_min%d", num);
|
||||
sprintf(sysname, "temp_min%d", num); /* kernel patch pending for hyst */
|
||||
*sysmag = TEMPMAG;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user