mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-17 19:30:26 +00:00
Add the coretemp driver userspace support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4214 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b2739867fc
commit
2b3d98a880
7 files changed
+60
No files matched your search
+11
@@ -6028,6 +6028,16 @@ static sensors_chip_feature k8temp_features[] =
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
static sensors_chip_feature coretemp_features[] =
|
||||
{
|
||||
{ SENSORS_CORETEMP_TEMP1, "temp1", NOMAP, NOMAP,
|
||||
R, NOSYSCTL, VALUE(2), 0 },
|
||||
{ SENSORS_CORETEMP_TEMP1_CRIT, "temp1_crit", SENSORS_CORETEMP_TEMP1,
|
||||
SENSORS_CORETEMP_TEMP1, R, NOSYSCTL, VALUE(1), 0 },
|
||||
{ SENSORS_CORETEMP_TEMP1_CRIT_ALARM, "temp1_crit_alarm", SENSORS_CORETEMP_TEMP1,
|
||||
NOMAP, R, NOSYSCTL, VALUE(1), 0 },
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
sensors_chip_features sensors_chip_features_list[] =
|
||||
{
|
||||
@@ -6136,5 +6146,6 @@ sensors_chip_features sensors_chip_features_list[] =
|
||||
{ SENSORS_F71805F_PREFIX, f71805f_features },
|
||||
{ SENSORS_ABITUGURU_PREFIX, abituguru_features },
|
||||
{ SENSORS_K8TEMP_PREFIX, k8temp_features },
|
||||
{ SENSORS_CORETEMP_PREFIX, coretemp_features },
|
||||
{ 0 }
|
||||
};
|
||||
@@ -2224,4 +2224,11 @@
|
||||
#define SENSORS_K8TEMP_TEMP3 0x03 /* R */
|
||||
#define SENSORS_K8TEMP_TEMP4 0x04 /* R */
|
||||
|
||||
/* coretemp */
|
||||
|
||||
#define SENSORS_CORETEMP_PREFIX "coretemp"
|
||||
#define SENSORS_CORETEMP_TEMP1 0x01 /* R */
|
||||
#define SENSORS_CORETEMP_TEMP1_CRIT 0x02 /* R */
|
||||
#define SENSORS_CORETEMP_TEMP1_CRIT_ALARM 0x03 /* R */
|
||||
|
||||
#endif /* def LIB_SENSORS_CHIPS_H */
|
||||
Reference in new issue
Block a user