diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-09-27 04:30:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-28 01:09:55 -0400 |
commit | 206d6b3270921fe4a207515beb1f7f7cd8aa3597 (patch) | |
tree | 0d46e73770801e38e160cda9ac0a9eeebe8ce5be | |
parent | 1eb63a28148336b8a97ff5ee0ecd6830e76a7044 (diff) |
mv643xx_eth: Use netif_set_real_num_{rx, tx}_queues()
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/mv643xx_eth.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
2901 | mp->dev = dev; | 2901 | mp->dev = dev; |
2902 | 2902 | ||
2903 | set_params(mp, pd); | 2903 | set_params(mp, pd); |
2904 | dev->real_num_tx_queues = mp->txq_count; | 2904 | netif_set_real_num_tx_queues(dev, mp->txq_count); |
2905 | netif_set_real_num_rx_queues(dev, mp->rxq_count); | ||
2905 | 2906 | ||
2906 | if (pd->phy_addr != MV643XX_ETH_PHY_NONE) | 2907 | if (pd->phy_addr != MV643XX_ETH_PHY_NONE) |
2907 | mp->phy = phy_scan(mp, pd->phy_addr); | 2908 | mp->phy = phy_scan(mp, pd->phy_addr); |