aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sh_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sh_eth.c')
-rw-r--r--drivers/net/sh_eth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index eb768357c78d..728c4196830a 100644
--- a/drivers/net/sh_eth.c
+++ b/drivers/net/sh_eth.c
@@ -536,6 +536,7 @@ static int sh_eth_rx(struct net_device *ndev)
536 } 536 }
537 rxdesc->status |= cpu_to_edmac(mdp, RD_RACT); 537 rxdesc->status |= cpu_to_edmac(mdp, RD_RACT);
538 entry = (++mdp->cur_rx) % RX_RING_SIZE; 538 entry = (++mdp->cur_rx) % RX_RING_SIZE;
539 rxdesc = &mdp->rx_ring[entry];
539 } 540 }
540 541
541 /* Refill the Rx ring buffers. */ 542 /* Refill the Rx ring buffers. */