Skip to contentSkip to conversation

#2073: VT1211 Driver review + docs

lm-sensors Juerg Haefliger 3 participants 4 messages Jun 27, 2006 – Jun 30, 2006

lore
Share & tools
lore
#0 lore raw

Rudolf,

I know you're busy but is there a chance that someone gives the vt1211 a final review and merge it into main line soon? It's been around for a while now.
Is there anything I can do to help?

Thanks
...juerg

Quoted 17 lines · lm-sensors

#2073: VT1211 Driver review + docs
--------------------+-------------------------------------------------------

 Reporter:  ruik    |       Owner:  ruik
     Type:  task    |      Status:  new
 Priority:  major   |   Milestone:
Component:  kernel  |     Version:
 Keywords:          |

--------------------+-------------------------------------------------------
[http://lists.lm-sensors.org/pipermail/lm-sensors/2006-June/016329.html
VT1211 driver review]

Needs review. Khali thinks not yet for 2.6.18

--
Ticket URL: <http://www.lm-sensors.org/ticket/2073>
lm-sensors <http://lm-sensors.org/>
Linux hardware monitoring

#1 lore raw
Quoted 7 lines · Juerg Haefliger

Rudolf,

I know you're busy but is there a chance that someone gives the vt1211 a final review and merge it into main line soon? It's been around for a while now.
Is there anything I can do to help?

Quoted 18 lines

Thanks
...juerg

Quoted 12 lines · lm-sensors

#2073: VT1211 Driver review + docs
--------------------+-------------------------------------------------------

 Reporter:  ruik    |       Owner:  ruik
     Type:  task    |      Status:  new
 Priority:  major   |   Milestone:
Component:  kernel  |     Version:
 Keywords:          |

--------------------+-------------------------------------------------------
[http://lists.lm-sensors.org/pipermail/lm-sensors/2006-June/016329.html
VT1211 driver review]

your patch passes the leading, trailing whitespace tests (which you know):

    cat -TE attachment-0001.obj | grep '^+ ' |more
    cat -TE attachment-0001.obj | grep ' $' |more

2 trivial notes:

+ default:
+ printk(KERN_ERR DRVNAME ": Unknown attr fetch\n");

since these are in your callbacks, which have a struct device *dev, you could change them to

	dev_err(dev, "Unknown attr.....

+ }

Also, just below here:

+ /* pwm & temp auto point registers */
+ data->pwm_auto_pwm[0][0] = 255; /* hard wired */
+ data->pwm_auto_pwm[0][1] = vt1211_read8(data,

you could have done those initializations in a loop. Im assuming this would shrink the object by a teeny amount.

And one 'idle-curiosity' question:
what happens when you rmmod then modprobe ? any surprises ?

#2 lore raw
In reply to Juerg Haefliger
Quoted 3 lines

your patch passes the leading, trailing whitespace tests (which you know):

    cat -TE attachment-0001.obj | grep '^+ ' |more
    cat -TE attachment-0001.obj | grep ' $' |more

good to know :-)

Quoted 19 lines

2 trivial notes:

(quoted diff) +2 -0
+       default:
+               printk(KERN_ERR DRVNAME ": Unknown attr fetch\n");

since these are in your callbacks, which have a struct device *dev, you could change them to

        dev_err(dev, "Unknown attr.....

+ }

Also, just below here:

(quoted diff) +3 -0
+               /* pwm & temp auto point registers */
+               data->pwm_auto_pwm[0][0] = 255; /* hard wired */
+               data->pwm_auto_pwm[0][1] = vt1211_read8(data,
Quoted 3 lines

you could have done those initializations in a loop. Im assuming this would shrink the object by a teeny amount.

Those issues are minor enough that I waive them at this point. Once the patch is in the main line I'm happy to do increments. But I want this thing in now :-)

Quoted 2 lines

And one 'idle-curiosity' question:
what happens when you rmmod then modprobe ? any surprises ?

No prob, works fine.

Thanks
...juerg

#3 lore raw
In reply to Juerg Haefliger

Hi Juerg,

Sorry now it is Jean turn, and he decided that it should wait until 2.6.18 is out. Moreover I did not have free time to do anything for lm-sensors ;(

Please be patient Jean knows it but again the reviews are very time consumpting.

Regards
Rudolf