aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ucc_geth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ucc_geth.c')
-rw-r--r--drivers/net/ucc_geth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index e87986867ba5..4a8d5747204a 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -3266,7 +3266,7 @@ static int ucc_geth_poll(struct napi_struct *napi, int budget)
3266 howmany += ucc_geth_rx(ugeth, i, budget - howmany); 3266 howmany += ucc_geth_rx(ugeth, i, budget - howmany);
3267 3267
3268 if (howmany < budget) { 3268 if (howmany < budget) {
3269 netif_rx_complete(napi); 3269 napi_complete(napi);
3270 setbits32(ugeth->uccf->p_uccm, UCCE_RX_EVENTS); 3270 setbits32(ugeth->uccf->p_uccm, UCCE_RX_EVENTS);
3271 } 3271 }
3272 3272
@@ -3297,10 +3297,10 @@ static irqreturn_t ucc_geth_irq_handler(int irq, void *info)
3297 3297
3298 /* check for receive events that require processing */ 3298 /* check for receive events that require processing */
3299 if (ucce & UCCE_RX_EVENTS) { 3299 if (ucce & UCCE_RX_EVENTS) {
3300 if (netif_rx_schedule_prep(&ugeth->napi)) { 3300 if (napi_schedule_prep(&ugeth->napi)) {
3301 uccm &= ~UCCE_RX_EVENTS; 3301 uccm &= ~UCCE_RX_EVENTS;
3302 out_be32(uccf->p_uccm, uccm); 3302 out_be32(uccf->p_uccm, uccm);
3303 __netif_rx_schedule(&ugeth->napi); 3303 __napi_schedule(&ugeth->napi);
3304 } 3304 }
3305 } 3305 }
3306 3306