net/macb: clear tx/rx completion flags in ISR
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Wed, 27 Mar 2013 23:07:05 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Mar 2013 18:41:18 +0000 (14:41 -0400)
commit749a2b66f49de322ae472d57e1451e5f623d82f1
tree0c648bb9699acd282f6048841dfdb7e17651c240
parent19e016d6be4178dd1b20ab95254089538e71adab
net/macb: clear tx/rx completion flags in ISR

At least in the cadence IP core on the Xilinx Zynq SoC the TCOMP/RCOMP flags
are not auto-cleaned. As these flags are evaluated, they need to be cleaned.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c