aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/arm/ixp4xx_eth.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-03-28 16:29:51 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-03-28 16:29:51 -0400
commited40d0c472b136682b2fcba05f89762859c7374f (patch)
tree076b83a26bcd63d6158463735dd34c10bbc591dc /drivers/net/arm/ixp4xx_eth.c
parent9e495834e59ca9b29f1a1f63b9f5533bb022ac49 (diff)
parent5d80f8e5a9dc9c9a94d4aeaa567e219a808b8a4a (diff)
Merge branch 'origin' into devel
Conflicts: sound/soc/pxa/pxa2xx-i2s.c
Diffstat (limited to 'drivers/net/arm/ixp4xx_eth.c')
-rw-r--r--drivers/net/arm/ixp4xx_eth.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/arm/ixp4xx_eth.c b/drivers/net/arm/ixp4xx_eth.c
index 9cc43476bfa6..448487e22fa3 100644
--- a/drivers/net/arm/ixp4xx_eth.c
+++ b/drivers/net/arm/ixp4xx_eth.c
@@ -482,7 +482,7 @@ static void eth_rx_irq(void *pdev)
482 printk(KERN_DEBUG "%s: eth_rx_irq\n", dev->name); 482 printk(KERN_DEBUG "%s: eth_rx_irq\n", dev->name);
483#endif 483#endif
484 qmgr_disable_irq(port->plat->rxq); 484 qmgr_disable_irq(port->plat->rxq);
485 netif_rx_schedule(&port->napi); 485 napi_schedule(&port->napi);
486} 486}
487 487
488static int eth_poll(struct napi_struct *napi, int budget) 488static int eth_poll(struct napi_struct *napi, int budget)
@@ -507,16 +507,16 @@ static int eth_poll(struct napi_struct *napi, int budget)
507 507
508 if ((n = queue_get_desc(rxq, port, 0)) < 0) { 508 if ((n = queue_get_desc(rxq, port, 0)) < 0) {
509#if DEBUG_RX 509#if DEBUG_RX
510 printk(KERN_DEBUG "%s: eth_poll netif_rx_complete\n", 510 printk(KERN_DEBUG "%s: eth_poll napi_complete\n",
511 dev->name); 511 dev->name);
512#endif 512#endif
513 netif_rx_complete(napi); 513 napi_complete(napi);
514 qmgr_enable_irq(rxq); 514 qmgr_enable_irq(rxq);
515 if (!qmgr_stat_empty(rxq) && 515 if (!qmgr_stat_empty(rxq) &&
516 netif_rx_reschedule(napi)) { 516 napi_reschedule(napi)) {
517#if DEBUG_RX 517#if DEBUG_RX
518 printk(KERN_DEBUG "%s: eth_poll" 518 printk(KERN_DEBUG "%s: eth_poll"
519 " netif_rx_reschedule successed\n", 519 " napi_reschedule successed\n",
520 dev->name); 520 dev->name);
521#endif 521#endif
522 qmgr_disable_irq(rxq); 522 qmgr_disable_irq(rxq);
@@ -1045,7 +1045,7 @@ static int eth_open(struct net_device *dev)
1045 } 1045 }
1046 ports_open++; 1046 ports_open++;
1047 /* we may already have RX data, enables IRQ */ 1047 /* we may already have RX data, enables IRQ */
1048 netif_rx_schedule(&port->napi); 1048 napi_schedule(&port->napi);
1049 return 0; 1049 return 0;
1050} 1050}
1051 1051