All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: stub for driver testing (was Re: lm87 ported to Linux 2.6)
Date: Thu, 19 May 2005 06:25:12 +0000	[thread overview]
Message-ID: <20040825143542.M96484@linux-fr.org> (raw)
In-Reply-To: <20040824034244.GA23169@jupiter.solarsys.private>

> I'll make it impossible to build this driver into the kernel... it's 
> only useful as a module anyway.

I can't see any technical reason why it couldn't be used into the kernel. But
I don't see why one would want to do that either. So all in all I agree with
you ;)

> Would it be appropriate to mark it experimental as well?

Yes, but not because it's for testing purposes. For that, a clear help text
stating, among other details, "If unsure, say N.", is what you want. The
experimental tag refers to the code stability, not the driver goal.

> > I think that this driver would be even more useful if it was possible to
> > "load" a register map into it. (...)
> 
> Um, i2cset works fine for this.

Ah, correct. For some reason (maybe I'm somewhat stupid, or it was too early
in the morning) I missed that. One more reason to go on providing a way to get
rid of the 5 second delay in i2cset like I did recently for isaset and isadump.

> BTW: note how there are independent arrays for data/byte and 
> data/word commands. Depending on if/how a chip driver mixes them,
>  you'll need to be careful.

Yeah, I noticed that. The LM87 doesn't use words so I guess it should cause no
trouble to me - this time at least.

Thanks.

-- 
Jean "Khali" Delvare
http://khali.linux-fr.org/

  reply	other threads:[~2005-05-19  6:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:25 stub for driver testing (was Re: lm87 ported to Linux 2.6) Mark M. Hoffman
2005-05-19  6:25 ` Jean Delvare [this message]
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Mark M. Hoffman

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=20040825143542.M96484@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.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.