summaryrefslogtreecommitdiffstats
path: root/drivers/net/spider_net.c
diff options
context:
space:
mode:
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>2007-02-20 23:37:42 +0100
committerJeff Garzik <jeff@garzik.org>2007-02-27 10:16:03 +0100
commitfc8e13da9118b2d45642c2a8bdbdd0448d9f6d04 (patch)
tree7892a426241bc6b34732e2c689aa65566861c294 /drivers/net/spider_net.c
parentspidernet: spidernet: add support for Celleb (diff)
downloadlinux-fc8e13da9118b2d45642c2a8bdbdd0448d9f6d04.tar.xz
linux-fc8e13da9118b2d45642c2a8bdbdd0448d9f6d04.zip
spidernet: remove txram full logging
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@toshiba.co.jp> Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r--drivers/net/spider_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c
index 5368e2797418..c5d2cb834c09 100644
--- a/drivers/net/spider_net.c
+++ b/drivers/net/spider_net.c
@@ -1422,8 +1422,8 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg)
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 */