summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2012-07-11 23:39:51 +0200
committerFrancois Romieu <romieu@fr.zoreil.com>2012-07-17 23:34:06 +0200
commit82e316efbd1c68946c8760f930b81d73e9c4425a (patch)
tree6558b34f4ebf804af790e5aea88915f9fb91ce3a
parent3a83ad12b850c3c5b89fa9008bdd0c0782f0cf68 (diff)
downloadblackbird-op-linux-82e316efbd1c68946c8760f930b81d73e9c4425a.tar.gz
blackbird-op-linux-82e316efbd1c68946c8760f930b81d73e9c4425a.zip
r8169: verbose error message.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Hayes Wang <hayeswang@realtek.com>
-rw-r--r--drivers/net/ethernet/realtek/r8169.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 1f27318635df..be4e00f3f485 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;
}
OpenPOWER on IntegriCloud