From patchwork Sun Feb 9 00:37:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 236066 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Sun, 9 Feb 2020 01:37:48 +0100 Subject: [PATCH 1/1] net: designware: speed should be in a debug message Message-ID: <20200209003748.882-1-xypron.glpk@gmx.de> The network connection speed is a debug information. So we should use debug() and not printf(). Signed-off-by: Heinrich Schuchardt --- drivers/net/designware.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.20.1 diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 19fc34f771..a89f4bedf1 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -255,9 +255,9 @@ static int dw_adjust_link(struct dw_eth_dev *priv, struct eth_mac_regs *mac_p, writel(conf, &mac_p->conf); - printf("Speed: %d, %s duplex%s\n", phydev->speed, - (phydev->duplex) ? "full" : "half", - (phydev->port == PORT_FIBRE) ? ", fiber mode" : ""); + debug("Speed: %d, %s duplex%s\n", phydev->speed, + (phydev->duplex) ? "full" : "half", + (phydev->port == PORT_FIBRE) ? ", fiber mode" : ""); return 0; }