From: Jean Delvare Date: Wed, 27 Jun 2007 19:26:08 +0000 (+0200) Subject: hwmon: Improve the pwmN_enable documentation X-Git-Tag: v2.6.23-rc1~258^2~14 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=875f25d5f553f7cf3e6a59c50b32e5fc06442945;p=linux-2.6 hwmon: Improve the pwmN_enable documentation The documentation of the pwmN_enable interface file is not very clear, and has been confusing several driver authors already. Make it clearer. Signed-off-by: Jean Delvare Signed-off-by: Mark M. Hoffman --- diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface index d131a56e52..b3a9e1b9db 100644 --- a/Documentation/hwmon/sysfs-interface +++ b/Documentation/hwmon/sysfs-interface @@ -172,11 +172,10 @@ pwm[1-*] Pulse width modulation fan control. 255 is max or 100%. pwm[1-*]_enable - Switch PWM on and off. - Not always present even if pwmN is. - 0: turn off - 1: turn on in manual mode - 2+: turn on in automatic mode + Fan speed control method: + 0: no fan speed control (i.e. fan at full speed) + 1: manual fan speed control enabled (using pwm[1-*]) + 2+: automatic fan speed control enabled Check individual chip documentation files for automatic mode details. RW