* [lm-sensors] [PATCH] lm93 driver for 2.6, third try [0/2]
@ 2005-08-04 0:35 Eric J. Bowersox
2005-08-04 0:36 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [1/2] Eric J. Bowersox
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Eric J. Bowersox @ 2005-08-04 0:35 UTC (permalink / raw)
To: lm-sensors
After a go-round on the last one, and a round of testing, herewith is
the LM93 driver patch for 2.6, third try.
This is now actually two separate patches, both against 2.6.13-rc3-mm3.
The first is i2cblock-2.6.13-rc3-mm3.patch, which reintroduces the
i2c_smbus_read_block_data function into i2c-core, because the lm93
driver needs it. (The code was lifted from the 2.6.5 version of
drivers/i2c/i2c-core.c.) The second is
lm93-driver-2.6.13-rc3-mm3.patch, the actual driver, which now depends
on that first patch.
On a system with a Supermicro X6DHP motherboard, running SuSE Linux
Enterprise Server 9, the 2.6.13-rc3-mm3 kernel plus these two patches,
and lm_sensors 2.9.1, the lm93 driver now reports fully valid voltages,
temperatures, and fan speeds, *without* requiring the disable_block=1
parameter. So it's good now from a functional standpoint, at least as
far as we're concerned.
Patches to follow.
Eric
--
Eric J. Bowersox, Software Engineer Aspen Systems, Inc.
<ericb@aspsys.com> 3900 Youngfield Street
Tel: +01 303 431 4606 x113 Wheat Ridge, CO 80033, USA
Fax: +01 303 431 7196 <http://www.aspsys.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [lm-sensors] [PATCH] lm93 driver for 2.6, third try [1/2]
2005-08-04 0:35 [lm-sensors] [PATCH] lm93 driver for 2.6, third try [0/2] Eric J. Bowersox
@ 2005-08-04 0:36 ` Eric J. Bowersox
2005-08-04 7:46 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [2/2] Eric J. Bowersox
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Eric J. Bowersox @ 2005-08-04 0:36 UTC (permalink / raw)
To: lm-sensors
This is i2cblock-2.6.13-rc3-mm3.patch, against 2.6.13-rc3-mm3, which
reintroduces the i2c_smbus_read_block_data function into i2c-core,
because the lm93 driver needs it.
Signed-off-by: Eric J. Bowersox <ericb@aspsys.com>
--
Eric J. Bowersox, Software Engineer Aspen Systems, Inc.
<ericb@aspsys.com> 3900 Youngfield Street
Tel: +01 303 431 4606 x113 Wheat Ridge, CO 80033, USA
Fax: +01 303 431 7196 <http://www.aspsys.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2cblock-2.6.13-rc3-mm3.patch
Type: text/x-patch
Size: 1872 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050804/2c916c0a/i2cblock-2.6.13-rc3-mm3-0001.bin
^ permalink raw reply [flat|nested] 7+ messages in thread
* [lm-sensors] [PATCH] lm93 driver for 2.6, third try [2/2]
2005-08-04 0:35 [lm-sensors] [PATCH] lm93 driver for 2.6, third try [0/2] Eric J. Bowersox
2005-08-04 0:36 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [1/2] Eric J. Bowersox
@ 2005-08-04 7:46 ` Eric J. Bowersox
2005-08-04 9:45 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [1/2] Jean Delvare
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Eric J. Bowersox @ 2005-08-04 7:46 UTC (permalink / raw)
To: lm-sensors
This is lm93-driver-2.6.13-rc3-mm3.patch, against 2.6.13-rc3-mm3, which
implements the National Semiconductor LM93 hardware monitoring driver.
It depends on the i2cblock-2.6.13-rc3-mm3.patch patch.
Signed-off-by: Eric J. Bowersox <ericb@aspsys.com>
--
Eric J. Bowersox, Software Engineer Aspen Systems, Inc.
<ericb@aspsys.com> 3900 Youngfield Street
Tel: +01 303 431 4606 x113 Wheat Ridge, CO 80033, USA
Fax: +01 303 431 7196 <http://www.aspsys.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lm93-driver-2.6.13-rc3-mm3.patch
Type: text/x-patch
Size: 96467 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050804/7daccecd/lm93-driver-2.6.13-rc3-mm3-0001.bin
^ permalink raw reply [flat|nested] 7+ messages in thread
* [lm-sensors] [PATCH] lm93 driver for 2.6, third try [1/2]
2005-08-04 0:35 [lm-sensors] [PATCH] lm93 driver for 2.6, third try [0/2] Eric J. Bowersox
2005-08-04 0:36 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [1/2] Eric J. Bowersox
2005-08-04 7:46 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [2/2] Eric J. Bowersox
@ 2005-08-04 9:45 ` Jean Delvare
2005-08-04 17:07 ` Eric J. Bowersox
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2005-08-04 9:45 UTC (permalink / raw)
To: lm-sensors
Hi Eric,
[Eric J. Bowersox]
> This is i2cblock-2.6.13-rc3-mm3.patch, against 2.6.13-rc3-mm3, which
> reintroduces the i2c_smbus_read_block_data function into i2c-core,
> because the lm93 driver needs it.
I'm of course fine with the reintroduction of a standard smbus function
you need, but I'd like you to fix formal issues this patch has:
* Please place the i2c_smbus_read_block_data function (and declarations)
before i2c_smbus_write_block_data rather than after. All other pairs
have read before write.
* There should be one space after each comma (except at line end). I know
the original code you took from 2.6.5 wasn't correct in this respect,
but as we are adding it back now, let's do it with standard coding
style.
Can you please send an updated patch addressing these points?
Thanks,
--
Jean Delvare
^ permalink raw reply [flat|nested] 7+ messages in thread
* [lm-sensors] [PATCH] lm93 driver for 2.6, third try [1/2]
2005-08-04 0:35 [lm-sensors] [PATCH] lm93 driver for 2.6, third try [0/2] Eric J. Bowersox
` (2 preceding siblings ...)
2005-08-04 9:45 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [1/2] Jean Delvare
@ 2005-08-04 17:07 ` Eric J. Bowersox
2006-01-27 2:16 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [2/2] Jinggang Wang
2006-01-27 21:06 ` Rudolf Marek
5 siblings, 0 replies; 7+ messages in thread
From: Eric J. Bowersox @ 2005-08-04 17:07 UTC (permalink / raw)
To: lm-sensors
On Thu, 2005-08-04 at 01:37, Jean Delvare wrote:
> I'm of course fine with the reintroduction of a standard smbus function
> you need, but I'd like you to fix formal issues this patch has:
>
> * Please place the i2c_smbus_read_block_data function (and declarations)
> before i2c_smbus_write_block_data rather than after. All other pairs
> have read before write.
>
> * There should be one space after each comma (except at line end). I know
> the original code you took from 2.6.5 wasn't correct in this respect,
> but as we are adding it back now, let's do it with standard coding
> style.
>
> Can you please send an updated patch addressing these points?
All right. Herewith an update of the patch
i2cblock-2.6.13-rc3-mm3.patch, which fixes the ordering (of the function
code as well as the header file and EXPORT_SYMBOL declarations) and the
comma spacing. As with the previous version of this patch, it
reintroduces the function i2c_smbus_read_block_data to i2c-core, as it
is needed by the lm93 driver.
Signed-off-by: Eric J. Bowersox <ericb@aspsys.com>
Eric
--
Eric J. Bowersox, Software Engineer Aspen Systems, Inc.
<ericb@aspsys.com> 3900 Youngfield Street
Tel: +01 303 431 4606 x113 Wheat Ridge, CO 80033, USA
Fax: +01 303 431 7196 <http://www.aspsys.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2cblock-2.6.13-rc3-mm3.patch
Type: text/x-patch
Size: 1943 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050804/bd9a6a23/i2cblock-2.6.13-rc3-mm3.bin
^ permalink raw reply [flat|nested] 7+ messages in thread
* [lm-sensors] [PATCH] lm93 driver for 2.6, third try [2/2]
2005-08-04 0:35 [lm-sensors] [PATCH] lm93 driver for 2.6, third try [0/2] Eric J. Bowersox
` (3 preceding siblings ...)
2005-08-04 17:07 ` Eric J. Bowersox
@ 2006-01-27 2:16 ` Jinggang Wang
2006-01-27 21:06 ` Rudolf Marek
5 siblings, 0 replies; 7+ messages in thread
From: Jinggang Wang @ 2006-01-27 2:16 UTC (permalink / raw)
To: lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread
* [lm-sensors] [PATCH] lm93 driver for 2.6, third try [2/2]
2005-08-04 0:35 [lm-sensors] [PATCH] lm93 driver for 2.6, third try [0/2] Eric J. Bowersox
` (4 preceding siblings ...)
2006-01-27 2:16 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [2/2] Jinggang Wang
@ 2006-01-27 21:06 ` Rudolf Marek
5 siblings, 0 replies; 7+ messages in thread
From: Rudolf Marek @ 2006-01-27 21:06 UTC (permalink / raw)
To: lm-sensors
Jinggang Wang wrote:
Oops. Empty message. Please be sure it was not in binary attachment.
Try again please.
Regards
Rudolf
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-01-27 21:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-04 0:35 [lm-sensors] [PATCH] lm93 driver for 2.6, third try [0/2] Eric J. Bowersox
2005-08-04 0:36 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [1/2] Eric J. Bowersox
2005-08-04 7:46 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [2/2] Eric J. Bowersox
2005-08-04 9:45 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [1/2] Jean Delvare
2005-08-04 17:07 ` Eric J. Bowersox
2006-01-27 2:16 ` [lm-sensors] [PATCH] lm93 driver for 2.6, third try [2/2] Jinggang Wang
2006-01-27 21:06 ` Rudolf Marek
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.