r8169: remove "PHY reset until link up" log spam
authorLekensteyn <[email protected]>
Fri, 2 Aug 2013 08:36:55 +0000 (10:36 +0200)
committerDavid S. Miller <[email protected]>
Fri, 2 Aug 2013 21:55:09 +0000 (14:55 -0700)
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 <[email protected]>
Acked-by: Francois Romieu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/realtek/r8169.c

index 880015cae6a3d170e67d51ba21a895688603f761..b5eb4195fc9927a8b88493c7b1f783926928dc8c 100644 (file)
@@ -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);