]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit418c8ead0b1f4af3865c15a5bfd3c15fd18f845c
tree3656226aa2fffe2a81068c77ec07dc1bbb585880
parent904fda959c89276237f3229bc03122a4b972a26a
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