sh: extend INTC with force_enable

Extend the shared INTC code with force_enable support to
allow keeping mask bits statically enabled. Needed by
upcoming INTC SDHI patches that mux together a bunch of
vectors to a single linux interrupt which is masked by
a priority register, but needs individual mask bits
constantly enabled.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Magnus Damm 2010-02-09 04:29:22 +00:00 committed by Paul Mundt
parent 577cd7584c
commit d519095344
2 changed files with 133 additions and 19 deletions

View file

@ -71,6 +71,7 @@ struct intc_hw_desc {
struct intc_desc {
char *name;
intc_enum force_enable;
struct intc_hw_desc hw;
};