aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/myri10ge/myri10ge.c
diff options
context:
space:
mode:
authorBrice Goglin <brice@myri.com>2006-07-03 18:41:30 -0400
committerJeff Garzik <jeff@garzik.org>2006-07-05 14:08:37 -0400
commitd6020787488e837d3c2b24eb1b8cf9849058d340 (patch)
tree644ec35a5572b504419a9300f84fb47a1903cc08 /drivers/net/myri10ge/myri10ge.c
parent18ac544306855aa366d34d29755f4596acd7a58d (diff)
[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>
Diffstat (limited to 'drivers/net/myri10ge/myri10ge.c')
-rw-r--r--drivers/net/myri10ge/myri10ge.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index 8345e4f25793..abb5dd57c73f 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -2734,11 +2734,10 @@ static int myri10ge_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
2734 dev_err(&pdev->dev, "register_netdev failed: %d\n", status); 2734 dev_err(&pdev->dev, "register_netdev failed: %d\n", status);
2735 goto abort_with_irq; 2735 goto abort_with_irq;
2736 } 2736 }
2737 2737 dev_info(dev, "%s IRQ %d, tx bndry %d, fw %s, WC %s\n",
2738 printk(KERN_INFO "myri10ge: %s: %s IRQ %d, tx bndry %d, fw %s, WC %s\n", 2738 (mgp->msi_enabled ? "MSI" : "xPIC"),
2739 netdev->name, (mgp->msi_enabled ? "MSI" : "xPIC"), 2739 pdev->irq, mgp->tx.boundary, mgp->fw_name,
2740 pdev->irq, mgp->tx.boundary, mgp->fw_name, 2740 (mgp->mtrr >= 0 ? "Enabled" : "Disabled"));
2741 (mgp->mtrr >= 0 ? "Enabled" : "Disabled"));
2742 2741
2743 return 0; 2742 return 0;
2744 2743