mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
740a5753e5
Includes latest korina fixes. Signed-off-by: Roman Yeryomin <roman@advem.lv> [rewrite commit message (subject <= 50 characters)] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
12 lines
455 B
Diff
12 lines
455 B
Diff
--- a/drivers/net/ethernet/korina.c
|
|
+++ b/drivers/net/ethernet/korina.c
|
|
@@ -1082,7 +1082,7 @@ static int korina_probe(struct platform_
|
|
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;
|