/* 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
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
if (priv->has_phy) {
bus = &priv->mii_bus;
bus->name = "bcm63xx_enet MII bus";
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
bus->dev = &pdev->dev;
#else
bus->parent = &pdev->dev;