aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2007-08-10 17:00:21 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-09-11 14:03:25 -0400
commit045e4bb2bafb7aa8141c2f8332ce31b224ac3bb0 (patch)
treefa0c3edaadb12398e896928c40dbc65358506ed0
parentdafd49fc6cf68f815a4c2838c2c1407678d82e51 (diff)
[MIPS] i8259: Add disable method.
After 76d2160147f43f982dfe881404cfde9fd0a9da21, the qemu NE2000 was frequently producing WATCHDOG timeouts. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/kernel/i8259.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/i8259.c b/arch/mips/kernel/i8259.c
index 2345160e63fc..b6c30800c667 100644
--- a/arch/mips/kernel/i8259.c
+++ b/arch/mips/kernel/i8259.c
@@ -36,6 +36,7 @@ void mask_and_ack_8259A(unsigned int);
36static struct irq_chip i8259A_chip = { 36static struct irq_chip i8259A_chip = {
37 .name = "XT-PIC", 37 .name = "XT-PIC",
38 .mask = disable_8259A_irq, 38 .mask = disable_8259A_irq,
39 .disable = disable_8259A_irq,
39 .unmask = enable_8259A_irq, 40 .unmask = enable_8259A_irq,
40 .mask_ack = mask_and_ack_8259A, 41 .mask_ack = mask_and_ack_8259A,
41}; 42};