Commit 4e5077b6 authored by Jens Osterkamp's avatar Jens Osterkamp Committed by Jeff Garzik

[PATCH] spidernet : reduce console spam

This patch reduces the message level of the RX ram full messages
from err to debug to prevent spamming the console leaving it in the
logfiles though.

From: Jens Osterkamp <Jens.Osterkamp@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 00b428c2
...@@ -1442,7 +1442,7 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg) ...@@ -1442,7 +1442,7 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg)
case SPIDER_NET_GRFAFLLINT: /* fallthrough */ case SPIDER_NET_GRFAFLLINT: /* fallthrough */
case SPIDER_NET_GRMFLLINT: case SPIDER_NET_GRMFLLINT:
if (netif_msg_intr(card) && net_ratelimit()) if (netif_msg_intr(card) && net_ratelimit())
pr_err("Spider RX RAM full, incoming packets " pr_debug("Spider RX RAM full, incoming packets "
"might be discarded!\n"); "might be discarded!\n");
spider_net_rx_irq_off(card); spider_net_rx_irq_off(card);
tasklet_schedule(&card->rxram_full_tl); tasklet_schedule(&card->rxram_full_tl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment