Commit 206d6b32 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller

mv643xx_eth: Use netif_set_real_num_{rx, tx}_queues()

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Acked-by: default avatarLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1eb63a28
...@@ -2901,7 +2901,8 @@ static int mv643xx_eth_probe(struct platform_device *pdev) ...@@ -2901,7 +2901,8 @@ static int mv643xx_eth_probe(struct platform_device *pdev)
mp->dev = dev; mp->dev = dev;
set_params(mp, pd); set_params(mp, pd);
dev->real_num_tx_queues = mp->txq_count; netif_set_real_num_tx_queues(dev, mp->txq_count);
netif_set_real_num_rx_queues(dev, mp->rxq_count);
if (pd->phy_addr != MV643XX_ETH_PHY_NONE) if (pd->phy_addr != MV643XX_ETH_PHY_NONE)
mp->phy = phy_scan(mp, pd->phy_addr); mp->phy = phy_scan(mp, pd->phy_addr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment