patch against linuxppc_2_4_devel: ppc405_wdt.c needs to be fixed

Matthias Fuchs matthias.fuchs at
Wed Jun 4 17:10:52 EST 2003


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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc405_wdt.p

More information about the Linuxppc-embedded mailing list