[PATCH] powerpc: Add support for the MPC83xx watchdog

Andrew Morton akpm at osdl.org
Sat Jan 14 09:52:59 EST 2006


Kumar Gala <galak at gate.crashing.org> wrote:
>
> Added support for the PowerPC MPC83xx watchdog.  The MPC83xx has a simple
> watchdog that once enabled it can not be stopped, has some simple timeout
> range selection, and the ability to either reset the processor or take
> a machine check.
> 
>
> +static ushort timeout = 0xffff;

There's no such thing ;)  I'll change this to u16, OK?


> +static int mpc83xx_wdt_ioctl(struct inode *inode, struct file *file,
> +			     unsigned int cmd,
> +	unsigned long arg)

Whitespace went nutty in various places.  I'll fix that up.  Please see the
followup patch.




More information about the Linuxppc-dev mailing list