r8169: verbose error message.
authorFrancois Romieu <romieu@fr.zoreil.com>
Wed, 11 Jul 2012 21:39:51 +0000 (23:39 +0200)
committerFrancois Romieu <romieu@fr.zoreil.com>
Tue, 17 Jul 2012 21:34:06 +0000 (23:34 +0200)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Hayes Wang <hayeswang@realtek.com>
drivers/net/ethernet/realtek/r8169.c

index 1f27318635dfafb1a7856f3dfb628dd2b98aaaa8..be4e00f3f485df00abb5bb24a52c547d98baebc6 100644 (file)
@@ -865,7 +865,8 @@ static bool rtl_loop_wait(struct rtl8169_private *tp, const struct rtl_cond *c,
                if (c->check(tp) == high)
                        return true;
        }
-       netif_err(tp, drv, tp->dev, c->msg);
+       netif_err(tp, drv, tp->dev, "%s == %d (loop: %d, delay: %d).\n",
+                 c->msg, !high, n, d);
        return false;
 }