All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] new chip support kernel driver
@ 2006-10-16  7:37 Cestonaro, Thilo
  2006-10-16 11:04 ` Jean Delvare
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Cestonaro, Thilo @ 2006-10-16  7:37 UTC (permalink / raw)
  To: lm-sensors

Hey,

I'm working for Fujitsu Siemens Computers on a chip support for their Heimdall SMBus Chip. I'm ready to give it to you under GPL. What do I need to do?
I've two things to give. One is the kernel module and the other is a patch of sensors executable which implements the useage function for displaying the stuff.

Could you give me a hint who should recieve this stuff?

Ciao Thilo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061016/364c8b4f/attachment.html 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [lm-sensors] new chip support kernel driver
  2006-10-16  7:37 [lm-sensors] new chip support kernel driver Cestonaro, Thilo
@ 2006-10-16 11:04 ` Jean Delvare
  2006-10-17  7:11 ` Cestonaro, Thilo
  2006-11-25 16:36 ` Rudolf Marek
  2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2006-10-16 11:04 UTC (permalink / raw)
  To: lm-sensors

Hi Thilo,

On Mon, 16 Oct 2006 09:37:52 +0200, Cestonaro, Thilo wrote:
> I'm working for Fujitsu Siemens Computers on a chip support
> for their Heimdall SMBus Chip. I'm ready to give it to you
> under GPL. What do I need to do?
> I've two things to give. One is the kernel module and the
> other is a patch of sensors executable which implements the
> useage function for displaying the stuff.
> 
> Could you give me a hint who should recieve this stuff?

Just send the patches here on this list. We will review them as time
permits. Depending on the outcome of the review, we may ask you to
rework some parts before we can accept them in the Linux kernel or
in lm_sensors.

Is there documentation available for this Heimdall chip? It's rather
difficult to review and maintain a driver without some form of
documentation.

Thanks,
-- 
Jean Delvare


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [lm-sensors] new chip support kernel driver
  2006-10-16  7:37 [lm-sensors] new chip support kernel driver Cestonaro, Thilo
  2006-10-16 11:04 ` Jean Delvare
@ 2006-10-17  7:11 ` Cestonaro, Thilo
  2006-11-25 16:36 ` Rudolf Marek
  2 siblings, 0 replies; 4+ messages in thread
From: Cestonaro, Thilo @ 2006-10-17  7:11 UTC (permalink / raw)
  To: lm-sensors

Hey Jean,

here are the patches:
- fschmd_kernel_module_2.6.16.21.patch which is the kernel module stuff, of course ;). Also I created it based on
  the 2.6.16.21 it should fit the other current kernels IMHO.
- fschmd_lm_sensors-2.10.0.patch which is the sensors stuff, including changes in sensors.conf.eg, sensors-detect
  stuff and needed changes for prog sensors to display it.

@Documentation:
Sorry but currently there is no public documentation. But the Chip is compareable to the Hermes Chip (fscher) except that some registers (and reservations) have changed and a thermal sensor and a fan sensor where added.

I will ask for public documentation and of course you can ask me. I know this is not the best.

Thanks,
Thilo
 <<fschmd.tar.bz2>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061017/ca4d538e/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fschmd.tar.bz2
Type: application/octet-stream
Size: 8015 bytes
Desc: fschmd.tar.bz2
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061017/ca4d538e/attachment-0001.obj 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [lm-sensors] new chip support kernel driver
  2006-10-16  7:37 [lm-sensors] new chip support kernel driver Cestonaro, Thilo
  2006-10-16 11:04 ` Jean Delvare
  2006-10-17  7:11 ` Cestonaro, Thilo
@ 2006-11-25 16:36 ` Rudolf Marek
  2 siblings, 0 replies; 4+ messages in thread
From: Rudolf Marek @ 2006-11-25 16:36 UTC (permalink / raw)
  To: lm-sensors

Hello Thilo,

Sorry for delay, it always takes long time to do the review. Jean was moving to 
other place and I was very busy too. However I had some time and took a look to 
your driver. Please check the attachment.

Please can you send in future the patches as txt attachments? (and diff them 
with diff -uprN please).

> I will ask for public documentation and of course you can ask me. I know 
> this is not the best.

Anything new on this? It is quite a pity that I dont know what you are doing 
sometimes ;)

I have few general remarks.

1) you can get rid of most register #define using some simple computation macro, 
or static lookup array.

2) You need to use new mutex stuff (please check the patch I put the note how to 
do that)

3) SENSOR_ATTR is your friend, you dont need all those sysfs access macros, I 
put the note there how to fix it

4) you will need to use group add/ grop remove and check the return status

5) there is a lot of non-standard files
    Do you need them? Or your customer? Maybe we can tidy them up. Please can 
you post the list (cat/ls output) so we can check if the content/names are 
according to our standard?

6) cool would be to have per channel alarm and not just big alarm value.

7) watchdog interface
    I know that that those days it is not easy to use the watchdog subsystem in 
kernel and that it sucks. And it is not even easy to connect it to i2c device 
driver. If you have chosen your non-standard watchdog interface you are on your 
own and the users too.

so you can a) remove the watchdog interface
            b) document it Documentation/hwmon/yourchip
            c) use the kernel watchdog interface (yes it really sucks)

8) use indent -i8 -kr this will format your file according the coding style ;)

9) GPL - they moved their office, and maybe you want GPL v2 only.

I think I will create some hwmon driver SDK so everyone can you the right source 
as the base ;)

The userspace patch will be next once we are done with the driver.

Maybe Jean will have some comments too. If you have any questions comments on my 
review please let us know.

Regards
Rudolf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fschmd_kernel_module_2.6.16.21.patch
Type: text/x-patch
Size: 28689 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061125/2b9950c5/attachment-0001.bin 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-25 16:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-16  7:37 [lm-sensors] new chip support kernel driver Cestonaro, Thilo
2006-10-16 11:04 ` Jean Delvare
2006-10-17  7:11 ` Cestonaro, Thilo
2006-11-25 16:36 ` 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.