[PATCH] myri10ge - Use dev_info() when printing parameters after probe

Displaying the interface name when listing the device parameters
at the end of myri10ge_probe is not a good idea since udev might
rename the interface soon afterwards.
Print the bus id instead, using dev_info().

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

authored by Brice Goglin and committed by Jeff Garzik d6020787 18ac5443

+4 -5
+4 -5
drivers/net/myri10ge/myri10ge.c
··· 2734 dev_err(&pdev->dev, "register_netdev failed: %d\n", status); 2735 goto abort_with_irq; 2736 } 2737 - 2738 - printk(KERN_INFO "myri10ge: %s: %s IRQ %d, tx bndry %d, fw %s, WC %s\n", 2739 - netdev->name, (mgp->msi_enabled ? "MSI" : "xPIC"), 2740 - pdev->irq, mgp->tx.boundary, mgp->fw_name, 2741 - (mgp->mtrr >= 0 ? "Enabled" : "Disabled")); 2742 2743 return 0; 2744
··· 2734 dev_err(&pdev->dev, "register_netdev failed: %d\n", status); 2735 goto abort_with_irq; 2736 } 2737 + dev_info(dev, "%s IRQ %d, tx bndry %d, fw %s, WC %s\n", 2738 + (mgp->msi_enabled ? "MSI" : "xPIC"), 2739 + pdev->irq, mgp->tx.boundary, mgp->fw_name, 2740 + (mgp->mtrr >= 0 ? "Enabled" : "Disabled")); 2741 2742 return 0; 2743