projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
364a97f
)
net: korina: use NAPI_POLL_WEIGHT
author
Roman Yeryomin
<leroi.lists@gmail.com>
Sun, 17 Sep 2017 17:24:38 +0000
(20:24 +0300)
committer
David S. Miller
<davem@davemloft.net>
Mon, 18 Sep 2017 23:50:06 +0000
(16:50 -0700)
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/korina.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/korina.c
b/drivers/net/ethernet/korina.c
index e5466e19994ab465001e8ff35e530238db32eea6..c210add9b65451d75387de30849016ec8d1f2c66 100644
(file)
--- a/
drivers/net/ethernet/korina.c
+++ b/
drivers/net/ethernet/korina.c
@@
-1082,7
+1082,7
@@
static int korina_probe(struct platform_device *pdev)
dev->netdev_ops = &korina_netdev_ops;
dev->ethtool_ops = &netdev_ethtool_ops;
dev->watchdog_timeo = TX_TIMEOUT;
- netif_napi_add(dev, &lp->napi, korina_poll,
64
);
+ netif_napi_add(dev, &lp->napi, korina_poll,
NAPI_POLL_WEIGHT
);
lp->phy_addr = (((lp->rx_irq == 0x2c? 1:0) << 8) | 0x05);
lp->mii_if.dev = dev;