dynamicly generate a sensors_chip_features_list entry for unknown chips based on their sysfs entries, by Bob Schlarmann and Luuk Kleiweg

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4359 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Hans de Goede committed 2007-04-09 14:09:21 +00:00
1 parent c5ffa7b635
commit 666fe95cdb
3 files changed
+158 -1

No files matched your search

+3
View File
@@ -22,6 +22,8 @@
#include "sensors.h"
#include "kernel/include/sensors.h"
#define PLACEHOLDER_ELEMENTS {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}
/* For each chip, a list of features;
For each feature, the number, its name, the logical mapping (for example,
fan1_div belongs to fan1), the compute mapping, an access field, the
@@ -6161,5 +6163,6 @@ sensors_chip_features sensors_chip_features_list[] =
{ SENSORS_K8TEMP_PREFIX, k8temp_features },
{ SENSORS_CORETEMP_PREFIX, coretemp_features },
{ SENSORS_DME1737_PREFIX, dme1737_features },
PLACEHOLDER_ELEMENTS,
{ 0 }
};