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:
Jean Delvare committed 2004-10-24 20:27:55 +00:00
1 parent f583bf7d8a
commit 411dc06a0b
2 files changed
+7 -2

No files matched your search

+5
View File
@@ -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;