[PATCH 1/3] [WATCHDOG] mpc83xx_wdt: add support for MPC86xx CPUs

Scott Wood scottwood at freescale.com
Tue May 13 04:58:37 EST 2008


Anton Vorontsov wrote:
> +	enabled = in_be32(&wd_base->swcrr) & SWCRR_SWEN;
> +#ifdef CONFIG_PPC_86xx
> +	if (!enabled) {
> +		dev_info(&dev->dev, "could not be enabled by software\n");
> +		ret = -ENOSYS;
> +		goto err_unmap;
> +	}
> +#endif

What happens on an 83xx+86xx multiplatform kernel?

-Scott



More information about the Linuxppc-dev mailing list