Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349762
b: refs/heads/master
c: 8770e91
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Ferre authored and David S. Miller committed Feb 13, 2013
1 parent cbf906a commit 4150575
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ac574804d412047e52de4dd887615cc88f58aeb0
refs/heads/master: 8770e91aa61127f82eb8a9e641832474dbbcc8f1
5 changes: 5 additions & 0 deletions trunk/drivers/net/ethernet/cadence/macb.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,11 @@ static int macb_poll(struct napi_struct *napi, int budget)
* get notified when new packets arrive.
*/
macb_writel(bp, IER, MACB_RX_INT_FLAGS);

/* Packets received while interrupts were disabled */
status = macb_readl(bp, RSR);
if (unlikely(status))
napi_reschedule(napi);
}

/* TODO: Handle errors */
Expand Down

0 comments on commit 4150575

Please sign in to comment.