diff options
Diffstat (limited to 'arch/mn10300/unit-asb2303/unit-init.c')
-rw-r--r-- | arch/mn10300/unit-asb2303/unit-init.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/mn10300/unit-asb2303/unit-init.c b/arch/mn10300/unit-asb2303/unit-init.c index 70e8cb4ea266..834a76aa551a 100644 --- a/arch/mn10300/unit-asb2303/unit-init.c +++ b/arch/mn10300/unit-asb2303/unit-init.c | |||
@@ -31,6 +31,14 @@ asmlinkage void __init unit_init(void) | |||
31 | SET_XIRQ_TRIGGER(3, XIRQ_TRIGGER_HILEVEL); | 31 | SET_XIRQ_TRIGGER(3, XIRQ_TRIGGER_HILEVEL); |
32 | SET_XIRQ_TRIGGER(4, XIRQ_TRIGGER_LOWLEVEL); | 32 | SET_XIRQ_TRIGGER(4, XIRQ_TRIGGER_LOWLEVEL); |
33 | SET_XIRQ_TRIGGER(5, XIRQ_TRIGGER_LOWLEVEL); | 33 | SET_XIRQ_TRIGGER(5, XIRQ_TRIGGER_LOWLEVEL); |
34 | |||
35 | #ifdef CONFIG_EXT_SERIAL_IRQ_LEVEL | ||
36 | set_intr_level(XIRQ0, NUM2GxICR_LEVEL(CONFIG_EXT_SERIAL_IRQ_LEVEL)); | ||
37 | #endif | ||
38 | |||
39 | #ifdef CONFIG_ETHERNET_IRQ_LEVEL | ||
40 | set_intr_level(XIRQ3, NUM2GxICR_LEVEL(CONFIG_ETHERNET_IRQ_LEVEL)); | ||
41 | #endif | ||
34 | } | 42 | } |
35 | 43 | ||
36 | /* | 44 | /* |
@@ -51,7 +59,7 @@ void __init unit_init_IRQ(void) | |||
51 | switch (GET_XIRQ_TRIGGER(extnum)) { | 59 | switch (GET_XIRQ_TRIGGER(extnum)) { |
52 | case XIRQ_TRIGGER_HILEVEL: | 60 | case XIRQ_TRIGGER_HILEVEL: |
53 | case XIRQ_TRIGGER_LOWLEVEL: | 61 | case XIRQ_TRIGGER_LOWLEVEL: |
54 | set_intr_postackable(XIRQ2IRQ(extnum)); | 62 | mn10300_set_lateack_irq_type(XIRQ2IRQ(extnum)); |
55 | break; | 63 | break; |
56 | default: | 64 | default: |
57 | break; | 65 | break; |