Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190613
b: refs/heads/master
c: 1827d2e
h: refs/heads/master
i:
  190611: d208320
v: v3
  • Loading branch information
David S. Miller committed May 4, 2010
1 parent 2793e90 commit dbefeb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d05070091849015f8c5b7d55cd75b86ebb61b3ec
refs/heads/master: 1827d2e943eeb5cba0662f3e6edc342d6bd65ae6
10 changes: 5 additions & 5 deletions trunk/drivers/net/arm/ep93xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,6 @@ static int ep93xx_rx(struct net_device *dev, int processed, int budget)
processed++;
}

if (processed) {
wrw(ep, REG_RXDENQ, processed);
wrw(ep, REG_RXSTSENQ, processed);
}

return processed;
}

Expand Down Expand Up @@ -350,6 +345,11 @@ static int ep93xx_poll(struct napi_struct *napi, int budget)
goto poll_some_more;
}

if (rx) {
wrw(ep, REG_RXDENQ, rx);
wrw(ep, REG_RXSTSENQ, rx);
}

return rx;
}

Expand Down

0 comments on commit dbefeb3

Please sign in to comment.