[lkml]   [2011]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 7/10 v2] Generic Watchdog Timer Driver
> >         /* Register the watchdog timer device */
> > res = watchdog_register_device(&wdt_dev);
> Why is this a feature of the individual drivers and not of the core?

It's a hardware dependant feature - some watchdogs cannot be stopped once

> Maybe it can be in both, so existing drivers don't need to change the user
> interface, but new drivers don't have to provide the option individually
> when you can simply set it for the base module.

Then you'd need an additional interface to specify which watchdog as soon
as we support multiple watchdogs.


 \ /
  Last update: 2011-06-19 12:03    [W:0.058 / U:58.636 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site