From: Roger Quadros <rogerq@kernel.org>
To: nm@ti.com, joe.hershberger@ni.com
Cc: robertcnelson@gmail.com, jkridner@beagleboard.org,
r-gunasekaran@ti.com, s-vadapalli@ti.com, srk@ti.com,
trini@konsulko.com, u-boot@lists.denx.de,
Roger Quadros <rogerq@kernel.org>
Subject: [PATCH 2/2] net: phy: Change "PHY not found" message to debug()
Date: Tue, 22 Aug 2023 15:13:50 +0300 [thread overview]
Message-ID: <20230822121350.51324-3-rogerq@kernel.org> (raw)
In-Reply-To: <20230822121350.51324-1-rogerq@kernel.org>
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 <rogerq@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
next prev parent reply other threads:[~2023-08-22 12:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-22 12:13 [PATCH 0/2] net: Fix Ethernet PHY detection on Beagleplay Roger Quadros
2023-08-22 12:13 ` [PATCH 1/2] net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board Roger Quadros
2023-08-23 4:35 ` Siddharth Vadapalli
2023-08-23 7:52 ` Roger Quadros
2023-08-23 8:02 ` Siddharth Vadapalli
2023-08-23 8:14 ` Roger Quadros
2023-08-23 8:35 ` Roger Quadros
2023-08-24 18:04 ` Siddharth Vadapalli
2023-08-24 18:24 ` Tom Rini
2023-08-24 19:09 ` Roger Quadros
2023-08-25 5:42 ` Siddharth Vadapalli
2023-08-25 7:52 ` Roger Quadros
2023-08-25 8:22 ` Siddharth Vadapalli
2023-08-22 12:13 ` Roger Quadros [this message]
2023-08-23 4:54 ` [PATCH 2/2] net: phy: Change "PHY not found" message to debug() Siddharth Vadapalli
2023-08-23 8:06 ` Roger Quadros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230822121350.51324-3-rogerq@kernel.org \
--to=rogerq@kernel.org \
--cc=jkridner@beagleboard.org \
--cc=joe.hershberger@ni.com \
--cc=nm@ti.com \
--cc=r-gunasekaran@ti.com \
--cc=robertcnelson@gmail.com \
--cc=s-vadapalli@ti.com \
--cc=srk@ti.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox