From: alex@alexdalton.org (Alexandre d'Alton) Date: Thu, 19 May 2005 06:25:16 +0000 Subject: interface changes in linux 2.6, lm_sensors 2.8.8 Message-Id: <1095661313.16654.4.camel@megapc> List-Id: References: <20040916123814.M40115@linux-fr.org> In-Reply-To: <20040916123814.M40115@linux-fr.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org Hi Mark, If I remember, it is not because depending on the mode (auto or manual PWM), the same register has a different behaviour. Jean asked to make two sysfs files in order to keep the interface consistant (and chip-independant...) Alex. On Mon, 2004-09-20 at 07:00, Mark M. Hoffman wrote: > > Two other things... > > (One) In adm1031.c lines 594-595: > > > static DEVICE_ATTR(auto_fan##offset##_min_pwm, S_IRUGO | S_IWUSR, \ > > show_pwm_##offset, set_pwm_##offset) > > But those are also used for the sysfs files fan?_pwm in lines 439-440: > > > static DEVICE_ATTR(fan##offset##_pwm, S_IRUGO | S_IWUSR, \ > > show_pwm_##offset, set_pwm_##offset) > > That's a bug, right? >