net: sh_eth: fix the rxdesc pointer when rx descriptor empty happens
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 28 May 2012 23:07:55 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2012 21:30:08 +0000 (17:30 -0400)
commit79fba9f51755c704c0a7d7b7f0df10874dc0a744
tree3656226aa2fffe2a81068c77ec07dc1bbb585880
parent9dae31009b1a00d926c6fe032d5a88099620adc3
net: sh_eth: fix the rxdesc pointer when rx descriptor empty happens

When Receive Descriptor Empty happens, rxdesc pointer of the driver
and actual next descriptor of the controller may be mismatch.
This patch fixes it.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c