mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-09 16:21:51 +00:00
Add support for Linux 2.6 lm63 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2745 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
f583bf7d8a
commit
411dc06a0b
2 files changed
+7
-2
No files matched your search
+2
-2
@@ -876,7 +876,7 @@ static sensors_chip_feature lm63_features[] =
|
||||
R, LM63_SYSCTL_TEMP2_TCRIT, VALUE(1), 0 },
|
||||
{ SENSORS_LM63_REMOTE_TCRIT_HYST, "temp2_crit_hyst",
|
||||
SENSORS_LM63_REMOTE_TEMP, SENSORS_LM63_REMOTE_TEMP,
|
||||
RW, LM63_SYSCTL_TEMP2_TCRIT_HYST, VALUE(1), 0 },
|
||||
RW, LM63_SYSCTL_TEMP2_TCRIT_HYST, VALUE(1), 0, "temp2_crit_hyst", 3 },
|
||||
{ SENSORS_LM63_ALARMS, "alarms",
|
||||
NOMAP, NOMAP,
|
||||
R, LM63_SYSCTL_ALARMS, VALUE(1), 0 },
|
||||
@@ -5215,7 +5215,7 @@ static sensors_chip_feature max1619_features[] =
|
||||
RW, MAX1619_SYSCTL_REMOTE_TEMP, VALUE(1), 0 },
|
||||
{ SENSORS_MAX1619_REMOTE_MAX, "temp2_crit",
|
||||
NOMAP,NOMAP,
|
||||
RW, MAX1619_SYSCTL_REMOTE_CRIT, VALUE(1), 0, "temp2_crit", 3 },
|
||||
RW, MAX1619_SYSCTL_REMOTE_CRIT, VALUE(1), 0 },
|
||||
{ SENSORS_MAX1619_REMOTE_HYST, "temp2_hyst",
|
||||
NOMAP, NOMAP,
|
||||
RW, MAX1619_SYSCTL_REMOTE_CRIT, VALUE(2), 0, "temp2_crit_hyst", 3 },
|
||||
|
||||
@@ -593,6 +593,11 @@ int getsysname(const sensors_chip_feature *feature, char *sysname,
|
||||
*sysmag = TEMPMAG;
|
||||
return 0;
|
||||
}
|
||||
if(sscanf(name, "temp%d_cri%c%c", &num, &last, &check) == 2 && last == 't') {
|
||||
sprintf(sysname, "temp%d_crit", num);
|
||||
*sysmag = TEMPMAG;
|
||||
return 0;
|
||||
}
|
||||
if(sscanf(name, "temp%d_stat%c%c", &num, &last, &check) == 2 && last == 'e') {
|
||||
sprintf(sysname, "temp%d_status", num);
|
||||
*sysmag = 0;
|
||||
|
||||
Reference in new issue
Block a user