mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-28 23:23:30 +08:00
net: Fix problem with 405EZ ethernet interrupt
On 405EZ the RX-/TX-interrupts are coalesced into one IRQ bit in the
UIC. We need to acknowledge the RX-/TX-interrupts in the
SDR0_ICINTSTAT reg as well.
This problem was introduced with commit
d1631fe1
[ppc4xx: Consolidate PPC4xx UIC defines]
Signed-off-by: James Clough <james@rtetc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
parent
91b469c95f
commit
c0b46d8ead
@ -1717,6 +1717,15 @@ int enetInt (struct eth_device *dev)
|
||||
rc = 0;
|
||||
}
|
||||
}
|
||||
#if defined(CONFIG_405EZ)
|
||||
/*
|
||||
* On 405EZ the RX-/TX-interrupts are coalesced into
|
||||
* one IRQ bit in the UIC. We need to acknowledge the
|
||||
* RX-/TX-interrupts in the SDR0_ICINTSTAT reg as well.
|
||||
*/
|
||||
mtsdr(SDR0_ICINTSTAT,
|
||||
SDR_ICRX_STAT | SDR_ICTX0_STAT | SDR_ICTX1_STAT);
|
||||
#endif /* defined(CONFIG_405EZ) */
|
||||
} while (serviced);
|
||||
|
||||
return (rc);
|
||||
|
Loading…
Reference in New Issue
Block a user