Re: [PATCH] watchdog: add f71862fg support

From: Lutz Ballaschke
Date: Fri Sep 10 2010 - 19:22:23 EST


On Fri, Sep 10, 2010 at 11:03:01AM +0200, Wim Van Sebroeck wrote:
>
> > Given that the F71862 has *two* pins assignable to the WDTRST# signal,
> > please document that fact, and the reason for choosing this one in the
> > code.
> >
> > Perhaps it might even be desirable to insert a printk there. This to
> > make the user aware of the fact that this driver might not work if the
> > pin configuration of their hardware doesn't match the assumption you
> > make about it in this code.
>
> I propose to Document it in the code and add a module-parameter so that it is selectable.
>
I agree. I will post the patch again (missing parts will follow soon).
I placed printk in watchdog_start(). Since this means printk output
everytime /dev/watchdog is opened I'm not sure whether i like it there.
Maybe it fits better in f71808e_find(). But this would require
additional if / else and stuff.

Regards,
Lutz Ballaschke
--
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/