When multiple ethernet devices are in use it's interesting to know which one has link. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/net/phy/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 879939d..5975637 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -49,7 +49,7 @@ int phy_update_status(struct phy_device *dev) dev->adjust_link(edev); if (dev->link) - pr_info("%dMbps %s duplex link detected\n", dev->speed, + dev_info(&edev->dev, "%dMbps %s duplex link detected\n", dev->speed, dev->duplex ? "full" : "half"); return 0; -- 2.0.0.rc0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox