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
..
2018-07-03 11:45:33 +02:00
2018-06-30 13:59:53 +01:00
2018-07-09 21:31:40 +01:00
2018-07-03 09:49:20 +01:00
2018-07-16 11:18:09 +10:00
2018-07-02 19:07:19 +01:00
2018-07-03 14:59:27 +01:00
2018-07-16 11:18:09 +10:00
2018-07-02 19:07:19 +01:00
2018-07-02 19:07:19 +01:00
2018-06-01 15:14:31 +02:00