All of lore.kernel.org
 help / color / mirror / Atom feed
From: tandrews@grok.co.za (Thomas Andrews)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Address configuration for scx200_acb
Date: Wed, 10 May 2006 18:36:26 +0000	[thread overview]
Message-ID: <20060510183626.GD30963@grok.co.za> (raw)
In-Reply-To: <20060427234114.941c9657.khali@linux-fr.org>

Hi Jim,

On Fri, May 05, 2006 at 10:39:50AM -0400, Jim Cromie wrote:

[...]

> Im looking for the right way to coordinate use of Super-IO control
> ports amongst the drivers that would use them.  While you and I dont
> actually compete for the same port (mines at 2E,2F), you clearly have
> a clue about these things, and could either; - provide me with one (if
> you see that I need it ;-) - add it into your thinking on your driver
> (so that its easy to fit in a port-lock-coordinator later) - tell me
> that Ive more or less thought of everything that seems relevant.  - or
> some combo of them..

I've had a look at the links you gave, and it made a lot of sense to me
because I've been worrying about collisions in usage of the SIO. I'm
pretty sure I can make good use of your module.

One thing that I must mention though, is that in order to discover the
actual SIO address, I have had to access other regions, and these are
not always the same; the actual address depends on a) the bootloader,
and b) how pins are strapped.

The long and short of this is that I will need to make use of your
locking mechanism on all of the addresses, not just on the SIO address.
Looking at your code, that doesn't seem to be a problem though. I only
need to lock 3 or 4 addresses briefly.

If my explanation is too vague, I'll send you my module, and you can
have a look to see how I do it, but it's not very readable unless you
have the sc1100 data-sheet close at hand. Just shout if you want to see
it.
 
[...]

> Im still on the hook for giving your code a compile, load, try.  I
> might need some guidance on the try part, I'll email on that if/when I
> do.

Thanks. But you could also hang on until I submit a more final version,
because I've drastically improved the discovery of the SIO address now,
plus got interrupt-driven mode working nicely.

> btw, wheres za ?

South Africa - Down at the very bottom in a town called Cape Town

Cheers,
Thomas


  parent reply	other threads:[~2006-05-10 18:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-27 21:41 [lm-sensors] Address configuration for scx200_acb Jean Delvare
2006-04-28  6:47 ` Thomas Andrews
2006-04-30  7:43 ` Jean Delvare
2006-04-30 10:12 ` Thomas Andrews
2006-04-30 12:17 ` Jean Delvare
2006-05-01 11:15 ` Jim Cromie
2006-05-01 12:22 ` Jean Delvare
2006-05-01 13:58 ` Thomas Andrews
2006-05-01 15:12 ` Jim Cromie
2006-05-01 17:26 ` Thomas Andrews
2006-05-02 14:08 ` Alexander Krause
2006-05-03 11:17 ` Thomas Andrews
2006-05-03 11:39 ` Alexander Krause
2006-05-03 12:21 ` Thomas Andrews
2006-05-03 19:59 ` Thomas Andrews
2006-05-04  3:24 ` Jim Cromie
2006-05-04  6:32 ` Thomas Andrews
2006-05-10 18:36 ` Thomas Andrews [this message]
2006-06-09 21:28 ` Jim Cromie
2007-04-26 12:45 ` 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=20060510183626.GD30963@grok.co.za \
    --to=tandrews@grok.co.za \
    --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.