diff mbox

[v3] r8169: remove "PHY reset until link up" log spam

Message ID 1375432615-7901-1-git-send-email-lekensteyn@gmail.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Peter Wu Aug. 2, 2013, 8:36 a.m. UTC
This message was added in commit a7154cb8 (June 2004, [PATCH] r8169:
link handling and phy reset rework) and is printed every ten seconds
when no cable is connected and runtime power management is disabled.
(Before that commit, "Reset RTL8169s PHY" would be printed instead.)

Signed-off-by: Peter Wu <lekensteyn@gmail.com>
---
 drivers/net/ethernet/realtek/r8169.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Francois Romieu Aug. 2, 2013, 5:47 p.m. UTC | #1
Peter Wu <lekensteyn@gmail.com> :
> This message was added in commit a7154cb8 (June 2004, [PATCH] r8169:
> link handling and phy reset rework) and is printed every ten seconds
> when no cable is connected and runtime power management is disabled.
> (Before that commit, "Reset RTL8169s PHY" would be printed instead.)
> 
> Signed-off-by: Peter Wu <lekensteyn@gmail.com>

Acked-by: Francois Romieu <romieu@fr.zoreil.com>
David Miller Aug. 2, 2013, 9:55 p.m. UTC | #2
From: Francois Romieu <romieu@fr.zoreil.com>
Date: Fri, 2 Aug 2013 19:47:54 +0200

> Peter Wu <lekensteyn@gmail.com> :
>> This message was added in commit a7154cb8 (June 2004, [PATCH] r8169:
>> link handling and phy reset rework) and is printed every ten seconds
>> when no cable is connected and runtime power management is disabled.
>> (Before that commit, "Reset RTL8169s PHY" would be printed instead.)
>> 
>> Signed-off-by: Peter Wu <lekensteyn@gmail.com>
> 
> Acked-by: Francois Romieu <romieu@fr.zoreil.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 880015c..b5eb419 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -3689,7 +3689,7 @@  static void rtl_phy_work(struct rtl8169_private *tp)
 	if (tp->link_ok(ioaddr))
 		return;
 
-	netif_warn(tp, link, tp->dev, "PHY reset until link up\n");
+	netif_dbg(tp, link, tp->dev, "PHY reset until link up\n");
 
 	tp->phy_reset_enable(tp);