NET: nps_enet: replace use of cause register
authorNoam Camus <noamc@ezchip.com>
Thu, 20 Aug 2015 05:00:01 +0000 (08:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Aug 2015 23:08:53 +0000 (16:08 -0700)
commit0dd20f3ce04e75521bd3f9867ecbc852ab348912
tree231fc9ce3ad2d7ee351a4c047aac1e04165bdd34
parent1728369e8c57f27e0374f4702cbfdb9196bc586b
NET: nps_enet: replace use of cause register

When interrupt is received we read directly from control
register for RX/TX instead of reading cause register
since this register fails to indicate TX done when
TX interrupt is "edge mode".

Signed-off-by: Noam Camus <noamc@ezchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ezchip/nps_enet.c
drivers/net/ethernet/ezchip/nps_enet.h