WSL2-Linux-Kernel/arch/sh/boards
Magnus Damm 68abdbbb03 sh: rework ipr code
This patch reworks the ipr code by grouping the offset array together
with the ipr_data structure in a new data structure called ipr_desc.
This new structure also contains the name of the controller in struct
irq_chip. The idea behind putting struct irq_chip in there is that we
can use offsetof() to locate the base addresses in the irq_chip
callbacks. This strategy has much in common with the recently merged
intc2 code.

One logic change has been made - the original ipr code enabled the
interrupts by default but with this patch they are all disabled by
default.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-06-15 18:56:19 +09:00
..
dreamcast sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
hp6xx sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
landisk sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
lboxre2 sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
mpc1211 sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
renesas sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
se sh: rework ipr code 2007-06-15 18:56:19 +09:00
sh03 sh: rework ipr code 2007-06-15 18:56:19 +09:00
shmin sh: rework ipr code 2007-06-15 18:56:19 +09:00
snapgear sh: rework ipr code 2007-06-15 18:56:19 +09:00
superh/microdev sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
titan sh: rework ipr code 2007-06-15 18:56:19 +09:00