[RFC PATCH v2 06/12] MIPS: Octeon: Add a irq_create_of_mapping() implementation.

2011-03-04 Thread David Daney
This is needed for Octeon to use the Device Tree. Signed-off-by: David Daney --- arch/mips/cavium-octeon/octeon-irq.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/arch/mips/cavium-octeon/octeon-irq.c b/arch/mips/cavium-octeon/octeon-irq.c ind

Re: [RFC PATCH v2 06/12] MIPS: Octeon: Add a irq_create_of_mapping() implementation.

2011-03-04 Thread Grant Likely
On Fri, Mar 04, 2011 at 11:42:18AM -0800, David Daney wrote: > This is needed for Octeon to use the Device Tree. > > Signed-off-by: David Daney > --- > arch/mips/cavium-octeon/octeon-irq.c | 25 + > 1 files changed, 25 insertions(+), 0 deletions(-) > > diff --git a/arc

Re: [RFC PATCH v2 06/12] MIPS: Octeon: Add a irq_create_of_mapping() implementation.

2011-03-11 Thread David Daney
On 03/04/2011 05:07 PM, Grant Likely wrote: On Fri, Mar 04, 2011 at 11:42:18AM -0800, David Daney wrote: [...] +/* + * irq_create_of_mapping - Hook to resolve OF irq specifier into a Linux irq# + * + * Octeon irq maps are a pair of indexes. The first selects either + * ciu0 or ciu1, the second