[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110619110328.39c0f5e1@lxorguk.ukuu.org.uk>
Date: Sun, 19 Jun 2011 11:03:28 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Arnd Bergmann <arnd@...db.de>
Cc: Wim Van Sebroeck <wim@...ana.be>,
LKML <linux-kernel@...r.kernel.org>,
Linux Watchdog Mailing List <linux-watchdog@...r.kernel.org>
Subject: Re: [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
initialized.
> 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.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists