|
|
@@ -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;
|
|
|
}
|
|
|
|
|
|
@@ -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;
|
|
|
}
|
|
|
|