[MIPS] i8259: Add disable method.
authorKyungmin Park <kyungmin.park@samsung.com>
Fri, 10 Aug 2007 21:00:21 +0000 (14:00 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 11 Sep 2007 18:03:25 +0000 (19:03 +0100)
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>
arch/mips/kernel/i8259.c

index 2345160e63fc895ca05262aa92f1480e3cdb3490..b6c30800c66774170f719bba39948613a7a118c3 100644 (file)
@@ -36,6 +36,7 @@ void mask_and_ack_8259A(unsigned int);
 static struct irq_chip i8259A_chip = {
        .name           = "XT-PIC",
        .mask           = disable_8259A_irq,
+       .disable        = disable_8259A_irq,
        .unmask         = enable_8259A_irq,
        .mask_ack       = mask_and_ack_8259A,
 };