mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-04 21:58:18 +00:00
Several fixes to the fschmd support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4952 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
c681f7c79c
commit
f945c74d50
3 files changed
+18
-12
No files matched your search
+1
-1
@@ -6342,7 +6342,7 @@ static sensors_chip_feature f71882fg_features[] =
|
||||
NOMAP, NOMAP, R }, \
|
||||
NOSYSCTL, VALUE(1), 0 }, \
|
||||
{ { SENSORS_FSCHMD_FAN_DIV(nr), "fan" #nr "_div", \
|
||||
SENSORS_FSCHMD_FAN(nr), NOMAP, R }, \
|
||||
SENSORS_FSCHMD_FAN(nr), NOMAP, RW }, \
|
||||
NOSYSCTL, VALUE(nr), 0 }, \
|
||||
{ { SENSORS_FSCHMD_FAN_ALARM(nr), "fan" #nr "_alarm", \
|
||||
SENSORS_FSCHMD_FAN(nr), NOMAP, R }, \
|
||||
|
||||
+1
-2
@@ -455,8 +455,7 @@ static int getsysname(const sensors_chip_feature *feature, char *sysname,
|
||||
|
||||
/* give up, use old name (probably won't work though...) */
|
||||
/* known to be the same:
|
||||
"alarms", "beep_enable", "vrm", "fan%d_div" (except old fscxxx drivers
|
||||
which use fan%d_ripple, fixed using altsysname for new drv. GRR)
|
||||
"alarms", "beep_enable", "vrm", "fan%d_div"
|
||||
*/
|
||||
strcpy(sysname, name);
|
||||
*sysmag = feature->scaling;
|
||||
|
||||
Reference in new issue
Block a user