Some boards (e.g. Beagleplay) need multiple attempts to detect the PHY and the multiple "PHY not found" prints are not nice.
Change them to debug(). Signed-off-by: Roger Quadros <rog...@kernel.org> --- 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 ae21acb059..3a524bcd81 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -928,7 +928,7 @@ struct phy_device *phy_connect(struct mii_dev *bus, int addr, if (phydev) phy_connect_dev(phydev, dev, interface); else - printf("Could not get PHY for %s: addr %d\n", bus->name, addr); + debug("Could not get PHY for %s: addr %d\n", bus->name, addr); return phydev; } -- 2.34.1