aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2012-06-20 15:26:34 +0000
committerDavid S. Miller <davem@davemloft.net>2012-06-22 21:50:37 -0700
commita18e08bdcf845efb7344cea146e683df746bbfb4 (patch)
treee539d0faac592762c2c196436fa516a395e5094f /net
parentr8169: RxConfig hack for the 8168evl. (diff)
downloadlinux-dev-a18e08bdcf845efb7344cea146e683df746bbfb4.tar.xz
linux-dev-a18e08bdcf845efb7344cea146e683df746bbfb4.zip
net: sh_eth: fix the condition to fix the cur_tx/dirty_rx
The following commit couldn't work if the RMCR is not set to 1. "net: sh_eth: fix the rxdesc pointer when rx descriptor empty happens" commit id 79fba9f51755c704c0a7d7b7f0df10874dc0a744 If RMCR is not set, the controller will clear the EDRRR after it received a frame. In this case, the driver doesn't need to fix the value of cur_rx/dirty_rx. The driver only needs it when the controll detects receive descriptors are empty. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions