Fix typo in eTSEC Ethernet controller
IRQ are lowered when ievent bit is cleared, so irq_pulse makes no sense here... Signed-off-by: Fabien Chouteau <chouteau@adacore.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
1c38f84373
commit
d584348589
@ -159,7 +159,7 @@ static void ievent_set(eTSEC *etsec,
|
||||
|
||||
if ((flags & IEVENT_RXB && etsec->regs[IMASK].value & IMASK_RXBEN)
|
||||
|| (flags & IEVENT_RXF && etsec->regs[IMASK].value & IMASK_RXFEN)) {
|
||||
qemu_irq_pulse(etsec->rx_irq);
|
||||
qemu_irq_raise(etsec->rx_irq);
|
||||
RING_DEBUG("%s Raise Rx IRQ\n", __func__);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user