提交 d609d289 编写于 作者: R Roman Yeryomin 提交者: David S. Miller

net: korina: use NAPI_POLL_WEIGHT

Signed-off-by: NRoman Yeryomin <roman@advem.lv>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 364a97f5
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册