aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Cromie <[email protected]>2008-10-18 20:27:30 -0700
committerLinus Torvalds <[email protected]>2008-10-20 08:52:35 -0700
commit28f74e71775b1ae0ebf7fe87f7a7f39ecb77a2b8 (patch)
tree906ab2c98ed3d9034a170a2fcf9948097a084eaa /include
parent4d235ba6c2e9c717da8facafd1b990dcb687d1e0 (diff)
hwmon/pc87360 separate alarm files: define some constants
Bring hwmon/pc87360 into agreement with Documentation/hwmon/sysfs-interface. Patchset adds separate limit alarms for voltages and temps, it also adds temp[123]_fault files. On my Soekris, temps 1,2 are unused/unconnected, so temp[123]_fault = 1,1,0 respectively. This agrees with /usr/bin/sensors, which has always shown them as OPEN. Temps 4,5,6 are thermistor based, and dont have a fault bit in their status register. This patch: 2 different kinds of constants added: - CHAN_ALM_* constants for (later) vin, temp alarm callbacks. - CHAN_* conversion constants, used in _init_device, partly for RW1C bits Signed-off-by: Jim Cromie <[email protected]> Cc: Jean Delvare <[email protected]> Cc: "Mark M. Hoffman" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions