diff options
Diffstat (limited to 'drivers/net/arm/ixp4xx_eth.c')
-rw-r--r-- | drivers/net/arm/ixp4xx_eth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/arm/ixp4xx_eth.c b/drivers/net/arm/ixp4xx_eth.c index 14ffa2a61890..b03609f2e90f 100644 --- a/drivers/net/arm/ixp4xx_eth.c +++ b/drivers/net/arm/ixp4xx_eth.c | |||
@@ -498,7 +498,7 @@ static void eth_rx_irq(void *pdev) | |||
498 | printk(KERN_DEBUG "%s: eth_rx_irq\n", dev->name); | 498 | printk(KERN_DEBUG "%s: eth_rx_irq\n", dev->name); |
499 | #endif | 499 | #endif |
500 | qmgr_disable_irq(port->plat->rxq); | 500 | qmgr_disable_irq(port->plat->rxq); |
501 | netif_rx_schedule(dev, &port->napi); | 501 | netif_rx_schedule(&port->napi); |
502 | } | 502 | } |
503 | 503 | ||
504 | static int eth_poll(struct napi_struct *napi, int budget) | 504 | static int eth_poll(struct napi_struct *napi, int budget) |
@@ -526,7 +526,7 @@ static int eth_poll(struct napi_struct *napi, int budget) | |||
526 | printk(KERN_DEBUG "%s: eth_poll netif_rx_complete\n", | 526 | printk(KERN_DEBUG "%s: eth_poll netif_rx_complete\n", |
527 | dev->name); | 527 | dev->name); |
528 | #endif | 528 | #endif |
529 | netif_rx_complete(dev, napi); | 529 | netif_rx_complete(napi); |
530 | qmgr_enable_irq(rxq); | 530 | qmgr_enable_irq(rxq); |
531 | if (!qmgr_stat_empty(rxq) && | 531 | if (!qmgr_stat_empty(rxq) && |
532 | netif_rx_reschedule(dev, napi)) { | 532 | netif_rx_reschedule(dev, napi)) { |
@@ -1025,7 +1025,7 @@ static int eth_open(struct net_device *dev) | |||
1025 | } | 1025 | } |
1026 | ports_open++; | 1026 | ports_open++; |
1027 | /* we may already have RX data, enables IRQ */ | 1027 | /* we may already have RX data, enables IRQ */ |
1028 | netif_rx_schedule(dev, &port->napi); | 1028 | netif_rx_schedule(&port->napi); |
1029 | return 0; | 1029 | return 0; |
1030 | } | 1030 | } |
1031 | 1031 | ||