diff options
Diffstat (limited to 'drivers/net')
| -rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index 5c212a833bcf..3309494d12ad 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c | |||
| @@ -1543,7 +1543,7 @@ static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota) | |||
| 1543 | /* If we don't need to check status, don't. -KDU */ | 1543 | /* If we don't need to check status, don't. -KDU */ |
| 1544 | if (!(sh_eth_read(ndev, EDRRR) & EDRRR_R)) { | 1544 | if (!(sh_eth_read(ndev, EDRRR) & EDRRR_R)) { |
| 1545 | /* fix the values for the next receiving if RDE is set */ | 1545 | /* fix the values for the next receiving if RDE is set */ |
| 1546 | if (intr_status & EESR_RDE) { | 1546 | if (intr_status & EESR_RDE && mdp->reg_offset[RDFAR] != 0) { |
| 1547 | u32 count = (sh_eth_read(ndev, RDFAR) - | 1547 | u32 count = (sh_eth_read(ndev, RDFAR) - |
| 1548 | sh_eth_read(ndev, RDLAR)) >> 4; | 1548 | sh_eth_read(ndev, RDLAR)) >> 4; |
| 1549 | 1549 | ||
