diff options
author | Chris Friesen <cfriesen@nortel.com> | 2009-08-12 12:02:46 -0600 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2009-09-18 08:37:21 +0000 |
commit | dcfb748422d01245b6e89c94d85fcdb3c71a56a0 (patch) | |
tree | 19c99c7c3ec245de6610cf1e0e6f8cf9023a5e98 /drivers/ide/ide-4drives.c | |
parent | 9fd868f440c3d722199a14200b2a64a0a5e70221 (diff) | |
download | blackbird-op-linux-dcfb748422d01245b6e89c94d85fcdb3c71a56a0.tar.gz blackbird-op-linux-dcfb748422d01245b6e89c94d85fcdb3c71a56a0.zip |
[WATCHDOG] fix book E watchdog to take WDIOC_SETTIMEOUT arg in seconds
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@nortel.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/ide/ide-4drives.c')
0 files changed, 0 insertions, 0 deletions