From: Hans de Goede <hdegoede@redhat.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] hwmon: New driver for SMSC SCH5627 hwmon
Date: Mon, 14 Mar 2011 08:37:15 +0000 [thread overview]
Message-ID: <4D7DD3BB.7020506@redhat.com> (raw)
In-Reply-To: <1299871683-3945-1-git-send-email-hdegoede@redhat.com>
Hi,
On 03/13/2011 04:27 PM, Jean Delvare wrote:
> Hi Hans,
>
> On Sun, 13 Mar 2011 13:43:24 +0100, Hans de Goede wrote:
>> SMSC SCH5627 Super I/O chips include complete hardware monitoring
>> capabilities. They can monitor up to 5 voltages, 4 fans and 8 temperatures.
>>
>> The hardware monitoring part of the SMSC SCH5627 is accessed by talking
>> through an embedded microcontroller. An application note describing the
>> protocol for communicating with the microcontroller is available upon
>> request. Please mail me if you want a copy.
>>
>> Changes since version 1:
>> * Properly format multi line comments
>> * Avoid a potential divide by 0
>> * Use pr_err / pr_warn / pr_err instead of printk
>>
>> Changes since version 2:
>> * Various cleanups as result of a thorough review by Jean Delvare
>>
>> Signed-off-by: Hans de Goede<hdegoede@redhat.com>
>> ---
>> Documentation/hwmon/sch5627 | 22 ++
>> MAINTAINERS | 7 +
>> drivers/hwmon/Kconfig | 9 +
>> drivers/hwmon/Makefile | 1 +
>> drivers/hwmon/sch5627.c | 855 +++++++++++++++++++++++++++++++++++++++++++
>> 5 files changed, 894 insertions(+), 0 deletions(-)
>> create mode 100644 Documentation/hwmon/sch5627
>> create mode 100644 drivers/hwmon/sch5627.c
>
> This version looks very good to me, with only one minor comment left
> from me:
>
>> (...)
>> +static int sch5627_read_limits(struct sch5627_data *data)
>
> Only called from a __devinit function, so it could be __devinit.
>
Fixed in v4, together with the reporting of 0 rpm instead of 82 for a
fan register with a value of 0xffff.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2011-03-14 8:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-11 19:28 [lm-sensors] [PATCH] hwmon: New driver for SMSC SCH5627 hwmon (v2) Hans de Goede
2011-03-11 20:33 ` [lm-sensors] [PATCH] hwmon: New driver for SMSC SCH5627 hwmon Guenter Roeck
2011-03-12 7:48 ` Hans de Goede
2011-03-12 11:09 ` Jean Delvare
2011-03-12 12:24 ` Jean Delvare
2011-03-13 12:39 ` Hans de Goede
2011-03-13 12:43 ` [lm-sensors] [PATCH] hwmon: New driver for SMSC SCH5627 hwmon (v3) Hans de Goede
2011-03-13 14:00 ` [lm-sensors] [PATCH] hwmon: New driver for SMSC SCH5627 hwmon Jean Delvare
2011-03-13 15:12 ` Hans de Goede
2011-03-13 15:27 ` Jean Delvare
2011-03-14 8:35 ` [lm-sensors] [PATCH] hwmon: New driver for SMSC SCH5627 hwmon (v4) Hans de Goede
2011-03-14 8:37 ` Hans de Goede [this message]
2011-03-14 8:55 ` [lm-sensors] [PATCH] hwmon: New driver for SMSC SCH5627 hwmon 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=4D7DD3BB.7020506@redhat.com \
--to=hdegoede@redhat.com \
--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.