From a978c11e94365d313987e4766c05d98eba5db975 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Fri, 21 Nov 2003 04:07:22 +0000 Subject: [PATCH] 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 --- lib/proc.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/proc.c b/lib/proc.c index 771a80d7..ca845eec 100644 --- a/lib/proc.c +++ b/lib/proc.c @@ -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; }