diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2006-11-24 13:47:12 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-12-07 06:38:40 (GMT) |
commit | bab812a329cc244ca63c2675b0e05016518855ce (patch) | |
tree | f78c682c4086591aae46c9c2d715dce40302f684 /init | |
parent | a8b7a6626d7605a795b33317cd730b7d76da3d0a (diff) | |
download | linux-bab812a329cc244ca63c2675b0e05016518855ce.tar.xz |
ACPI: ibm-acpi: extend fan status functions
This patch fixes fan_read to return correct values for all fan access
modes. It also implements some fan access mode status output that was
missing, and normalizes the proc fan abi to return consistent data across
all fan read/write modes.
Userspace ABI changes and extensions:
1. Return status: enable/disable for *all* modes
(this actually improves compatibility with userspace utils!)
2. Return level: auto and level: disengaged for EC 2f access mode
3. Return level: <number> for EC 0x2f access mode
4. Return level 0 as well as "disabled" in level-aware modes
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions