mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[brcm63xx] fix typos introduced in 16942
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16943 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
/* no more packet in rx/tx queue, remove device from poll
|
||||||
* queue */
|
* queue */
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
|
||||||
netif_rx_schedule(dev, napi);
|
netif_rx_complete(dev, napi);
|
||||||
#else
|
#else
|
||||||
napi_complete(napi);
|
napi_complete(napi);
|
||||||
#endif
|
#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));
|
enet_dma_writel(priv, 0, ENETDMA_IRMASK_REG(priv->tx_chan));
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
|
||||||
netif_rx_schedul(dev, &priv->napi);
|
netif_rx_schedule(dev, &priv->napi);
|
||||||
#else
|
#else
|
||||||
napi_schedule(&priv->napi);
|
napi_schedule(&priv->napi);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user