From 82e316efbd1c68946c8760f930b81d73e9c4425a Mon Sep 17 00:00:00 2001 From: Francois Romieu Date: Wed, 11 Jul 2012 23:39:51 +0200 Subject: [PATCH] r8169: verbose error message. Signed-off-by: Francois Romieu Cc: Hayes Wang --- drivers/net/ethernet/realtek/r8169.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 1f27318..be4e00f3 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -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; } -- 2.7.4