[PATCH 4/4] spidernet: remove txram full logging
Ishizaki Kou
kou.ishizaki at toshiba.co.jp
Wed Feb 7 19:57:28 EST 2007
This patches removes logging for SPIDER_NET_GTMFLLINT interrupts.
Since the interrupts are not irregular, and they happen frequently
when using 100Mbps network switches.
Signed-off-by: Kou Ishizaki <kou.ishizaki at toshiba.co.jp>
---
--- org-linux-powerpc-git/drivers/net/spider_net.c 2007-02-06 20:44:47.000000000 +0900
+++ linux-powerpc-git/drivers/net/spider_net.c 2007-02-06 20:48:38.000000000 +0900
@@ -1417,8 +1417,8 @@
switch (i)
{
case SPIDER_NET_GTMFLLINT:
- if (netif_msg_intr(card) && net_ratelimit())
- pr_err("Spider TX RAM full\n");
+ /* TX RAM full may happen on a usual case.
+ * Logging is not needed. */
show_error = 0;
break;
case SPIDER_NET_GRFDFLLINT: /* fallthrough */
More information about the Linuxppc-dev
mailing list