From: Ben Hutchings Date: Mon, 27 Sep 2010 08:30:05 +0000 (+0000) Subject: mv643xx_eth: Use netif_set_real_num_{rx, tx}_queues() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=206d6b3270921fe4a207515beb1f7f7cd8aa3597;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git mv643xx_eth: Use netif_set_real_num_{rx, tx}_queues() Signed-off-by: Ben Hutchings Acked-by: Lennert Buytenhek Signed-off-by: David S. Miller --- diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 2d488abcf62d..dd2b6a71c6d7 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c @@ -2901,7 +2901,8 @@ static int mv643xx_eth_probe(struct platform_device *pdev) mp->dev = dev; 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) mp->phy = phy_scan(mp, pd->phy_addr);