[lm-sensors] [PATCH 2/4] hwmon: it87 only create pwm1-3 sysfs files if fan1-3 exist

Andrew Paprocki andrew at ishiboo.com
Mon Jul 7 13:36:43 CEST 2008


Ah ok, for the pwm1_freq. I suppose this can be left out entirely, or
should pwm1* always exist? It just seemed wrong to make pwm4/5 show up
when needed but not the others.

-Andrew

On Mon, Jul 7, 2008 at 7:25 AM, Jean Delvare <khali at linux-fr.org> wrote:
> On Mon,  7 Jul 2008 06:40:09 -0400, Andrew Paprocki wrote:
>> This patch only creates the pwmN_enable, pwmN, and pwmN_freq
>> sysfs interface files if the corresponding fanN is enabled by
>> the chip.
>
> Nack. PWM1 may control fan2, etc.
>
> --
> Jean Delvare
>
>



More information about the lm-sensors mailing list