[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090827111458.GB29382@infomag.iguana.be>
Date: Thu, 27 Aug 2009 13:14:58 +0200
From: Wim Van Sebroeck <wim@...ana.be>
To: Chris Friesen <cfriesen@...tel.com>
Cc: linuxppc-dev@...abs.org, Kumar Gala <galak@...nel.crashing.org>,
Linux kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] fix book E watchdog to take WDIOC_SETTIMEOUT arg in
seconds
Hi Chris,
> The WDIOC_SETTIMEOUT argument is supposed to be a "seconds" value.
> However, the book E wdt currently treats it as a "period" which is
> interpreted in a board-specific way.
>
> This patch allows the user to pass in a "seconds" value and the driver
> will set the smallest timeout that is at least as large as specified
> by the user. It's been tested on e500 hardware and works as
> expected.
>
> The patch only modifies the CONFIG_FSL_BOOKE case, the CONFIG_4xx case
> is left unmodified as I don't have any hardware to test it on.
>
> Signed-off-by: Chris Friesen <cfriesen@...tel.com>
Added with some small changes to keep checkpatch happy. (removed trailing spaces + changed sizeof(struct watchdog_info) to sizeof(ident) and changed some spaces in tabs).
Now we only need someone that can look at the CONFIG_4xx cases still :-)
Kind regards,
Wim.
--
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