patch against linuxppc_2_4_devel: ppc405_wdt.c needs to be fixed

Matthias Fuchs matthias.fuchs at esd-electronics.com
Wed Jun 4 17:10:52 EST 2003


Hi,

I noticed that the 405 watchdog driver's ioctl() for GETPERIOD and SETPERIOD
are not working correctly. The ioctls pass the watchdog timer period in microseconds.
The variable wdt_period stores the current period in seconds.

The attached patch fixes this behavior.

Matthias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc405_wdt.p
Url: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20030604/d08dabd2/attachment.txt 


More information about the Linuxppc-embedded mailing list