Re: Need help: Watchdog-driver over smbus (i2c)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 03 Dec 2009 21:56:59 +0100, Sven Anders wrote:
> Jean Delvare schrieb:
> > Hallo Sven,
> > 
> > On Mon, 30 Nov 2009 22:30:07 +0100, Sven Anders wrote:
> >
> >> Moreover the w83793g hardware sensors driver may already
> >> accessing the same chip. What is the normal way to deal with this?
> > 
> > Do not write a separate driver for the watchdog functionality. Instead,
> > add the functionality to the existing hwmon/w83793.c driver. Otherwise
> > both features will be mutually exclusive.
> > 
> > An example of how this can be done is in hwmon/fschmd.c [1] if you want
> > to take a look. This is an I2C/SMBus device driver as well, so your code
> > should be very similar in the end.
> > 
> > [1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/hwmon/fschmd.c
> > 
> > Hope this helps,
> 
> Yes, thanks! This was the hint I needed.
> Now I finished the watchdog driver and it's working!

Cool. When it's ready, please send it over to the lm-sensors list so
that it gets merged.

-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux