add sensor type selection in /proc for it87

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2053 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2003-11-12 01:36:12 +00:00
1 parent 3a0da75647
commit b1741b5366
6 files changed
+97 -3

No files matched your search

+6
View File
@@ -3766,6 +3766,12 @@ static sensors_chip_feature it87_features[] =
0 },
{ SENSORS_IT87_ALARMS, "alarms", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
SENSORS_MODE_R, IT87_SYSCTL_ALARMS, VALUE(1), 0 },
{ SENSORS_IT87_SENS1, "sensor1", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
SENSORS_MODE_RW, IT87_SYSCTL_SENS1, VALUE(1), 0 },
{ SENSORS_IT87_SENS2, "sensor2", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
SENSORS_MODE_RW, IT87_SYSCTL_SENS2, VALUE(1), 0 },
{ SENSORS_IT87_SENS3, "sensor3", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
SENSORS_MODE_RW, IT87_SYSCTL_SENS3, VALUE(1), 0 },
{ 0 }
};
+3
View File
@@ -1399,6 +1399,9 @@
#define SENSORS_IT87_ALARMS_VIN 82 /* R */
#define SENSORS_IT87_ALARMS_TEMP 83 /* R */
#define SENSORS_IT87_ALARMS 84 /* R */
#define SENSORS_IT87_SENS1 91 /* RW */
#define SENSORS_IT87_SENS2 92 /* RW */
#define SENSORS_IT87_SENS3 93 /* RW */
/* fsc poseidon chip */