mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-27 02:30:50 +07:00
[POWERPC] i8259: Add disable method
Since commit 76d2160147
, the NE2000 card
is not working anymore on PPC and POWERPC and produces WATCHDOG
timeouts.
The patch below fixes that the same way it has been done on x86, x86_64
and MIPS.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
1db3e890ae
commit
3a800ff50a
@ -137,6 +137,7 @@ static void i8259_unmask_irq(unsigned int irq_nr)
|
|||||||
static struct irq_chip i8259_pic = {
|
static struct irq_chip i8259_pic = {
|
||||||
.typename = " i8259 ",
|
.typename = " i8259 ",
|
||||||
.mask = i8259_mask_irq,
|
.mask = i8259_mask_irq,
|
||||||
|
.disable = i8259_mask_irq,
|
||||||
.unmask = i8259_unmask_irq,
|
.unmask = i8259_unmask_irq,
|
||||||
.mask_ack = i8259_mask_and_ack_irq,
|
.mask_ack = i8259_mask_and_ack_irq,
|
||||||
};
|
};
|
||||||
|
@ -127,6 +127,7 @@ static void i8259_unmask_irq(unsigned int irq_nr)
|
|||||||
static struct irq_chip i8259_pic = {
|
static struct irq_chip i8259_pic = {
|
||||||
.typename = " i8259 ",
|
.typename = " i8259 ",
|
||||||
.mask = i8259_mask_irq,
|
.mask = i8259_mask_irq,
|
||||||
|
.disable = i8259_mask_irq,
|
||||||
.unmask = i8259_unmask_irq,
|
.unmask = i8259_unmask_irq,
|
||||||
.mask_ack = i8259_mask_and_ack_irq,
|
.mask_ack = i8259_mask_and_ack_irq,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user