diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-06-26 10:06:46 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2007-06-26 10:06:46 +0000 |
commit | 6c7effca88f2c4b3f842965dac0aeabbc4f162c1 (patch) | |
tree | a42a7fe3dd570299eee3a6a5e9c4774aeb5568c6 /lib/data.h | |
parent | 617e759d94fc4b2a3eb817deaf1aebf2935740f3 (diff) | |
download | lm-sensors-git-6c7effca88f2c4b3f842965dac0aeabbc4f162c1.tar.gz |
libsensors: Kill procfs and sysctl support, part 2.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4473 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/data.h')
-rw-r--r-- | lib/data.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -120,7 +120,6 @@ typedef struct sensors_bus { /* /proc/sys/dev/sensors/chips line representation */ typedef struct sensors_proc_chips_entry { - int sysctl; sensors_chip_name name; } sensors_proc_chips_entry; @@ -139,20 +138,12 @@ typedef struct sensors_proc_chips_entry { mode is SENSORS_MODE_NO_RW, SENSORS_MODE_R, SENSORS_MODE_W or SENSORS_MODE_RW, for unaccessible, readable, writable, and both readable and writable. - sysctl is the SYSCTL id of the file the value can be found in. - offset is the (byte) offset of the place this feature can be found. scaling is the number of decimal points to scale by. - This scaling is performed on the raw sysctl value, NOT the value - seen in /proc. Therefore the scaling value must be the same as - the value returned in nrels_mag by the SENSORS_PROC_REAL_INFO - operation in the chip drivers. Divide the read value by 10**scaling to get the real value. Scaling can be positive or negative but negative values aren't very useful because the driver can scale that direction itself. */ typedef struct sensors_chip_feature { sensors_feature_data data; - int sysctl; - int offset; int scaling; const char *sysname; int sysscaling; |