From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: Winbond chips - design questions
Date: Thu, 19 May 2005 06:24:22 +0000 [thread overview]
Message-ID: <20031022204922.5a6be01f.khali@linux-fr.org> (raw)
In-Reply-To: <20031022022051.GB8764@earth.solarsys.private>
> OK, new subject anyway...
>
> What is the benefit of having all of the Winbond drivers in two files?
Benefit is obvious. It is because, hmmm... well... well you know, it's
obviously obvious ;)
> And related - what is the benefit of recycling feature tables etc.
> between all the Winbond types in lib/chips.c and prog/sensors/chips.c?
Almost as obvious as above ;)
> I can tell you the downside, for sure: I'm afraid to touch any of it
> for fear of breaking one of the other 5 chips that I *don't* have and
> *can't* test. Sure it's free software and I don't have any
> obligation... but right now those particular bits are nigh
> unmaintainable.
I definitely agree with you on that point. Likewise, the adm1021 driver
has become a complete mess.
> I guess I'm asking for permission (and help!) in refactoring the
> Winbond drivers. The NatSemi (lm??) drivers are closer to where I
> think we should go: two (or at most, three) related chips per file...
> and only if they are trivially different or one has a subset of
> features of the other, etc.
That's what I'd call a good objective. That's how I intend to make
things in drivers I wrote or maintain (lm83, lm90, adm1025).
> Also, what (kinds of) changes in libsensors will cause an ABI change?
> Is it absolutely limited to the contents of lib/sensors.h?
Good question. Someone here, can't remember who, once said we would have
to change the library's version with each release. So I guess that the
ABI is likely to change that often. I don't quite understand what
exactly cause incompatibilities, nor what our numbering policy should
be. If someone is willing to explain that in details, that would be
welcome.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
next prev parent reply other threads:[~2005-05-19 6:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:24 Winbond chips - design questions Mark M. Hoffman
2005-05-19 6:24 ` Jean Delvare [this message]
2005-05-19 6:24 ` Mark M. Hoffman
2005-05-19 6:24 ` Mark Studebaker
2005-05-19 6:24 ` Mark Studebaker
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=20031022204922.5a6be01f.khali@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.