Commit 06f0015a authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Jeff Garzik

[PATCH] ep93xx_eth: don't report RX errors

Flooding the console with error messages for every RX FIFO overrun,
checksum error and framing error isn't very sensible.  Each of these
errors can occur during normal operation, so stop printk'ing error
messages for RX errors at all.
Signed-off-by: default avatarLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 79c356f4
...@@ -230,9 +230,6 @@ static int ep93xx_rx(struct net_device *dev, int *budget) ...@@ -230,9 +230,6 @@ static int ep93xx_rx(struct net_device *dev, int *budget)
" %.8x %.8x\n", rstat0, rstat1); " %.8x %.8x\n", rstat0, rstat1);
if (!(rstat0 & RSTAT0_RWE)) { if (!(rstat0 & RSTAT0_RWE)) {
printk(KERN_NOTICE "ep93xx_rx: receive error "
" %.8x %.8x\n", rstat0, rstat1);
ep->stats.rx_errors++; ep->stats.rx_errors++;
if (rstat0 & RSTAT0_OE) if (rstat0 & RSTAT0_OE)
ep->stats.rx_fifo_errors++; ep->stats.rx_fifo_errors++;
......
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