Re: [RFC] Watchdog device class

From: Alan Cox
Date: Tue Apr 18 2006 - 16:08:04 EST


On Maw, 2006-04-18 at 20:35 +0200, Rudolf Marek wrote:
> timeout - timeout value in sec - convert it to ms perhaps?

Probably

> ping - "ping" file, to replace the /dev/watchdog writes

Well you need to keep /dev/watchdog but yes

> As for the temps/fans I belive the driver should register in hwmon class and use
> hwmon class sysfs iterface and then just create sort of relation between the
> sysfs files/classes, so the watchdog app can find the temps.

I think that is appropriate. The temperature and watchdog association is
mostly historical because in the past thats where temp sensors lived,
nowdays they are everywhere.


Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/