projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eth: switch to netif_napi_add_weight()
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ethernet
/
dec
/
tulip
/
tulip_core.c
diff --git
a/drivers/net/ethernet/dec/tulip/tulip_core.c
b/drivers/net/ethernet/dec/tulip/tulip_core.c
index
79df5a7
..
434d8bf
100644
(file)
--- a/
drivers/net/ethernet/dec/tulip/tulip_core.c
+++ b/
drivers/net/ethernet/dec/tulip/tulip_core.c
@@
-1689,7
+1689,7
@@
static int tulip_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
dev->netdev_ops = &tulip_netdev_ops;
dev->watchdog_timeo = TX_TIMEOUT;
#ifdef CONFIG_TULIP_NAPI
- netif_napi_add(dev, &tp->napi, tulip_poll, 16);
+ netif_napi_add
_weight
(dev, &tp->napi, tulip_poll, 16);
#endif
dev->ethtool_ops = &ops;