All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Myson MTP008 driver ported to 2.6 kernel
Date: Tue, 04 Oct 2005 21:37:12 +0000	[thread overview]
Message-ID: <20051004213643.68871c78.khali@linux-fr.org> (raw)
In-Reply-To: <20051004125511.GI7154@kira.glasswings.com.au>

Hi Andrew,

> I got sick of waiting for someone else to do it, and ported the Myson
> MTP008 chip driver to the Linux 2.6 kernel.  I have successfully compiled
> and loaded the module on a Tyan Thunder LE ServerWorks dual P3 motherboard
> with two of these chips.
> 
> The module source code is here:  http://www.sericyb.com.au/mtp008.c

Great :)

> Here are patches against Linux 2.6.12 and 2.6.13:
> 
> http://www.sericyb.com.au/linux-2.6.12-mtp008.patch.bz2
> http://www.sericyb.com.au/linux-2.6.13-mtp008.patch.bz2

There have been quite a few changes since then. Could you please
provide a patch against 2.6.14-rc2-mm2 or at least 2.6.14-rc3?

Some times ago, Helge Bahmann had been working on a similar port. I did
not answer to him back then (my bad, too busy, sorry Helge), but maybe
you can work together to have the best code possible and extended
testing as well? I guess that Andrew's version is a better starting
point as Helge's version is older and so many things have changed since.

One thing which has changed is the introduction of the dynamic sysfs
callbacks, which your port doesn't seem to take benefit of. It would be
great if you could modify the code to use these, as it makes it
possible to get rid of many macros, making the code much more readable
(and reviewable), and it also makes the driver smaller in memory. See
drivers/hwmon/it87.c in any recent Linux tree as an example of how this
can be done.

Also make sure you read Documentation/CodingStyle and that you follow
the guidelines. This will make my work easier. Once you have something
to show, post it here (preferably inline in your mail, that's the
easier to review) and I'll try to review it quickly.

Thanks,
-- 
Jean Delvare

  reply	other threads:[~2005-10-04 21:37 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-04 14:56 [lm-sensors] Myson MTP008 driver ported to 2.6 kernel Andrew Pam
2005-10-04 21:37 ` Jean Delvare [this message]
2005-10-05 12:04 ` Andrew Pam
2005-10-05 13:32 ` Helge Bahmann
2005-10-05 15:25 ` Andrew Pam
2005-10-05 17:22 ` Jean Delvare
2005-10-05 18:41 ` Andrew Pam
2005-10-05 18:48 ` Andrew Pam
2005-10-05 18:51 ` Andrew Pam
2005-10-05 19:25 ` Tonu Samuel
2005-10-05 20:46 ` Jean Delvare
2005-10-05 21:46 ` Jean Delvare
2005-10-06 11:09 ` Andrew Pam
2005-10-06 11:13 ` Andrew Pam
2005-10-06 11:57 ` Jean Delvare
2005-10-06 12:20 ` Jean Delvare
2005-10-06 16:02 ` Andrew Pam
2005-10-09 20:03 ` Andrew Pam
2006-05-24  7:20 ` Andrew Pam
2006-05-24  8:39 ` Helge Bahmann
2006-05-24 12:57 ` Andrew Pam

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=20051004213643.68871c78.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.