All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: Ray Lee <ray-lk@madrabbit.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	lm-sensors@lm-sensors.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [lm-sensors] Simple fan question
Date: Thu, 20 May 2010 11:57:27 +0000	[thread overview]
Message-ID: <20100520135727.7a0e07bd@hyperion.delvare> (raw)
In-Reply-To: <AANLkTilRvyWK-SEp2pgVAosaJ8GQUbbXsP4BkZBxGphU@mail.gmail.com>

On Mon, 17 May 2010 08:59:50 -0700, Ray Lee wrote:
> On Thu, Apr 29, 2010 at 3:56 PM, Benjamin Herrenschmidt <
> benh@kernel.crashing.org> 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

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

WARNING: multiple messages have this Message-ID (diff)
From: Jean Delvare <khali@linux-fr.org>
To: Ray Lee <ray-lk@madrabbit.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	lm-sensors@lm-sensors.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [lm-sensors] Simple fan question
Date: Thu, 20 May 2010 13:57:27 +0200	[thread overview]
Message-ID: <20100520135727.7a0e07bd@hyperion.delvare> (raw)
In-Reply-To: <AANLkTilRvyWK-SEp2pgVAosaJ8GQUbbXsP4BkZBxGphU@mail.gmail.com>

On Mon, 17 May 2010 08:59:50 -0700, Ray Lee wrote:
> On Thu, Apr 29, 2010 at 3:56 PM, Benjamin Herrenschmidt <
> benh@kernel.crashing.org> 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

  reply	other threads:[~2010-05-20 11:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-29  5:21 [lm-sensors] Simple fan question Benjamin Herrenschmidt
2010-04-29  5:21 ` Benjamin Herrenschmidt
2010-04-29  5:34 ` [lm-sensors] " Dmitry Gromov
2010-04-29  8:57 ` Jean Delvare
2010-04-29  8:57   ` Jean Delvare
2010-04-29 22:56   ` Benjamin Herrenschmidt
2010-04-29 22:56     ` Benjamin Herrenschmidt
2010-05-06 16:40     ` Jean Delvare
2010-05-06 16:40       ` Jean Delvare
2010-05-17  7:46     ` Pavel Machek
2010-05-17  7:46       ` Pavel Machek
2010-05-17  8:14       ` Jean Delvare
2010-05-17  8:14         ` Jean Delvare
2010-05-17  8:30         ` Benjamin Herrenschmidt
2010-05-17  8:30           ` Benjamin Herrenschmidt
2010-05-17 15:59 ` Ray Lee
2010-05-20 11:57   ` Jean Delvare [this message]
2010-05-20 11:57     ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100520135727.7a0e07bd@hyperion.delvare \
    --to=khali@linux-fr.org \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm-sensors@lm-sensors.org \
    --cc=ray-lk@madrabbit.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.