qemu/hw/net/fsl_etsec
Michael Davidsaver fd8e3381a0 etsec: fix IRQ (un)masking
Interrupt conditions occurring while masked are not being
signaled when later unmasked.
The fix is to raise/lower IRQs when IMASK is changed.

To avoid problems like this in future, consolidate
IRQ pin update logic in one function.

Also fix probable typo "IEVENT_TXF | IEVENT_TXF",
and update IRQ pins on reset.

Signed-off-by: Michael Davidsaver <mdavidsaver@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-07-16 11:18:09 +10:00
..
etsec.c etsec: fix IRQ (un)masking 2018-07-16 11:18:09 +10:00
etsec.h etsec: fix IRQ (un)masking 2018-07-16 11:18:09 +10:00
miim.c hw/net: Clean up includes 2016-01-29 15:07:23 +00:00
registers.c hw/net: Clean up includes 2016-01-29 15:07:23 +00:00
registers.h etsec: fix IRQ (un)masking 2018-07-16 11:18:09 +10:00
rings.c etsec: fix IRQ (un)masking 2018-07-16 11:18:09 +10:00