eth: switch to netif_napi_add_weight()
[linux-2.6-microblaze.git] / drivers / net / ethernet / realtek / 8139cp.c
index ad7b9e9..e0feeec 100644 (file)
@@ -1986,7 +1986,7 @@ static int cp_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
        eth_hw_addr_set(dev, (u8 *)addr);
 
        dev->netdev_ops = &cp_netdev_ops;
-       netif_napi_add(dev, &cp->napi, cp_rx_poll, 16);
+       netif_napi_add_weight(dev, &cp->napi, cp_rx_poll, 16);
        dev->ethtool_ops = &cp_ethtool_ops;
        dev->watchdog_timeo = TX_TIMEOUT;