net: sh_eth: fix incorrect RX length error if R8A7740
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 13 Jun 2013 01:15:45 +0000 (10:15 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Jun 2013 10:02:32 +0000 (03:02 -0700)
commitdd019897358b815f7828dab90b51d51df4d3658d
tree57a29570fe3e6f47f845a396564b3bc7553e4387
parentd3b6f6141831b6e2d414edea6cc7af5b9bc6fac2
net: sh_eth: fix incorrect RX length error if R8A7740

This patch fixes an issue that the driver increments the "RX length error"
on every buffer in sh_eth_rx() if the R8A7740.
This patch also adds a description about the Receive Frame Status bits.

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