[PATCH/2.6.17-rc4 2/10] Powerpc: Add Tundra Semiconductor tsi108 macro define

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu May 18 10:48:23 EST 2006


> +/* Mapping of MPIC outputs to processors' interrupt pins */
> +
> +#define IDIR_INT_OUT0		0x1
> +#define IDIR_INT_OUT1		0x2
> +#define IDIR_INT_OUT2		0x4
> +#define IDIR_INT_OUT3		0x8

All this mapping should be provided by the device-tree

> +/* Error codes */
> +
> +#define MPIC_OK		0
> +#define MPIC_ERROR	1

What the heck are these for ?

Ben.





More information about the Linuxppc-dev mailing list