Fix typo in eTSEC Ethernet controller
PATCH 1/1 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 <[email protected]>
--- hw/net/fsl_etsec/rings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/net/fsl_etsec/rings.c +1 -1
@@ -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__); } }
Signature · 1 line
1.7.9.5
Alexander Graf
AppliedQuoted 4 lines · Fabien Chouteau
IRQ are lowered when ievent bit is cleared, so
irq_pulsemakes no sense here...Signed-off-by Fabien Chouteau <[email protected]>
Thanks, applied to ppc-next. Given that the wiring with boards is still missing I don't think this is a critical 2.0 fix.
Alex
Quoted 9 lines · Alexander Graf
Quoted 4 lines · Fabien Chouteau
IRQ are lowered when ievent bit is cleared, so
irq_pulsemakes no sense here...Signed-off-by Fabien Chouteau <[email protected]>Thanks, applied to ppc-next.
Thanks Alex,
Quoted 2 lines
Given that the wiring with boards is still missing I don't think this is a critical 2.0 fix.
That's right.
Regards,