Re: [lm-sensors] Simple fan question

From: Jean Delvare
Date: Thu May 20 2010 - 07:57:36 EST


On Mon, 17 May 2010 08:59:50 -0700, Ray Lee wrote:
> On Thu, Apr 29, 2010 at 3:56 PM, Benjamin Herrenschmidt <
> benh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > Now, maybe the best option is to have instead:
> >
> > fan[1-*]_discrete_value
> > Discrete value
> > RW
> >
> > fan[1-*]_supported values
> > List of supported discrete values
> > RO
> >
>
> Perhaps a granularity (ie, step-size) instead of a full list of values?

A possible addition to the current API, yes. But it may not cover all
cases: the step size isn't necessarily constant.

--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/