aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-21 12:22:01 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-21 12:22:01 +0000
commit349a74df5340f3453a88d6335f4ca481a7a47328 (patch)
treebf76c61e4c790a136ee7fd63da4b7eed08bb57fc /target
parentcf6b6ea15bf1c5bed19cab8f2a54428c6c640eef (diff)
downloadupstream-349a74df5340f3453a88d6335f4ca481a7a47328.tar.gz
upstream-349a74df5340f3453a88d6335f4ca481a7a47328.tar.bz2
upstream-349a74df5340f3453a88d6335f4ca481a7a47328.zip
[brcm63xx] fix typos introduced in 16942
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16943 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c b/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
index 0c6562bb42..27d03eb5b9 100644
--- a/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
+++ b/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
@@ -453,7 +453,7 @@ static int bcm_enet_poll(struct napi_struct *napi, int budget)
/* no more packet in rx/tx queue, remove device from poll
* queue */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
- netif_rx_schedule(dev, napi);
+ netif_rx_complete(dev, napi);
#else
napi_complete(napi);
#endif
@@ -509,7 +509,7 @@ static irqreturn_t bcm_enet_isr_dma(int irq, void *dev_id)
enet_dma_writel(priv, 0, ENETDMA_IRMASK_REG(priv->tx_chan));
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
- netif_rx_schedul(dev, &priv->napi);
+ netif_rx_schedule(dev, &priv->napi);
#else
napi_schedule(&priv->napi);
#endif