aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/arm
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
parent9e495834e59ca9b29f1a1f63b9f5533bb022ac49 (diff)
parent5d80f8e5a9dc9c9a94d4aeaa567e219a808b8a4a (diff)
Merge branch 'origin' into devel
Conflicts: sound/soc/pxa/pxa2xx-i2s.c
Diffstat (limited to 'drivers/net/arm')
-rw-r--r--drivers/net/arm/ep93xx_eth.c8
-rw-r--r--drivers/net/arm/ixp4xx_eth.c12
-rw-r--r--drivers/net/arm/ks8695net.c2
3 files changed, 11 insertions, 11 deletions
diff --git a/drivers/net/arm/ep93xx_eth.c b/drivers/net/arm/ep93xx_eth.c
index 3ec20cc18b0c..cc7708775da0 100644
--- a/drivers/net/arm/ep93xx_eth.c
+++ b/drivers/net/arm/ep93xx_eth.c
@@ -298,7 +298,7 @@ poll_some_more:
298 int more = 0; 298 int more = 0;
299 299
300 spin_lock_irq(&ep->rx_lock); 300 spin_lock_irq(&ep->rx_lock);
301 __netif_rx_complete(napi); 301 __napi_complete(napi);
302 wrl(ep, REG_INTEN, REG_INTEN_TX | REG_INTEN_RX); 302 wrl(ep, REG_INTEN, REG_INTEN_TX | REG_INTEN_RX);
303 if (ep93xx_have_more_rx(ep)) { 303 if (ep93xx_have_more_rx(ep)) {
304 wrl(ep, REG_INTEN, REG_INTEN_TX); 304 wrl(ep, REG_INTEN, REG_INTEN_TX);
@@ -307,7 +307,7 @@ poll_some_more:
307 } 307 }
308 spin_unlock_irq(&ep->rx_lock); 308 spin_unlock_irq(&ep->rx_lock);
309 309
310 if (more && netif_rx_reschedule(napi)) 310 if (more && napi_reschedule(napi))
311 goto poll_some_more; 311 goto poll_some_more;
312 } 312 }
313 313
@@ -415,9 +415,9 @@ static irqreturn_t ep93xx_irq(int irq, void *dev_id)
415 415
416 if (status & REG_INTSTS_RX) { 416 if (status & REG_INTSTS_RX) {
417 spin_lock(&ep->rx_lock); 417 spin_lock(&ep->rx_lock);
418 if (likely(netif_rx_schedule_prep(&ep->napi))) { 418 if (likely(napi_schedule_prep(&ep->napi))) {
419 wrl(ep, REG_INTEN, REG_INTEN_TX); 419 wrl(ep, REG_INTEN, REG_INTEN_TX);
420 __netif_rx_schedule(&ep->napi); 420 __napi_schedule(&ep->napi);
421 } 421 }
422 spin_unlock(&ep->rx_lock); 422 spin_unlock(&ep->rx_lock);
423 } 423 }
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
diff --git a/drivers/net/arm/ks8695net.c b/drivers/net/arm/ks8695net.c
index f3a127434897..35cd264abae7 100644
--- a/drivers/net/arm/ks8695net.c
+++ b/drivers/net/arm/ks8695net.c
@@ -1059,7 +1059,7 @@ ks8695_get_drvinfo(struct net_device *ndev, struct ethtool_drvinfo *info)
1059{ 1059{
1060 strlcpy(info->driver, MODULENAME, sizeof(info->driver)); 1060 strlcpy(info->driver, MODULENAME, sizeof(info->driver));
1061 strlcpy(info->version, MODULEVERSION, sizeof(info->version)); 1061 strlcpy(info->version, MODULEVERSION, sizeof(info->version));
1062 strlcpy(info->bus_info, ndev->dev.parent->bus_id, 1062 strlcpy(info->bus_info, dev_name(ndev->dev.parent),
1063 sizeof(info->bus_info)); 1063 sizeof(info->bus_info));
1064} 1064}
1065 1065