• Jonas Munsin's avatar
    [PATCH] I2C: it87 fan update · 9c0af1ad
    Jonas Munsin authored
    On Tue, Jan 11, 2005 at 10:26:22AM +0100, Jean Delvare wrote:
    > 1* Jonas, please send a modified version of your original patch to Greg.
    > The only difference would be that you wouldn't force on/off mode to be
    > on at driver load time. Instead, disabling PWM for one fan control
    > output (echo 0 > pwmN_enable) would both set on/off mode to on for that
    > output (new) and turn that output to on/off mode (same as before).
    
    Ok, thanks for doing the thinking ;), here is the modified patch
    (it87.c_2.6.10-jm3-corrected_manual_pwm_20050111.diff). In addition to
    the above change, it also refreshes fan_main_ctrl in the update routine,
    as suggested by Jean on IRC.
    
     - adds manual PWM
     - removes buggy "reset" module parameter
     - fixes some whitespaces
    Signed-off-by: default avatarJonas Munsin <jmunsin@iki.fi>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    9c0af1ad
it87.c 33.4 KB