patch-2.3.4 linux/drivers/net/sunhme.c

Next file: linux/drivers/sbus/char/Config.in
Previous file: linux/drivers/net/strip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.3/linux/drivers/net/sunhme.c linux/drivers/net/sunhme.c
@@ -1597,9 +1597,9 @@
 				      unsigned long status)
 {
 	int reset = 0;
-
+	
 	/* Only print messages for non-counter related interrupts. */
-	if(status & (GREG_STAT_RFIFOVF | GREG_STAT_STSTERR | GREG_STAT_TFIFO_UND |
+	if(status & (GREG_STAT_STSTERR | GREG_STAT_TFIFO_UND |
 		     GREG_STAT_MAXPKTERR | GREG_STAT_RXERR |
 		     GREG_STAT_RXPERR | GREG_STAT_RXTERR | GREG_STAT_EOPERR |
 		     GREG_STAT_MIFIRQ | GREG_STAT_TXEACK | GREG_STAT_TXLERR |
@@ -1609,9 +1609,9 @@
 		       hp->dev->name, status);
 
 	if(status & GREG_STAT_RFIFOVF) {
-		/* The receive FIFO overflowwed, usually a DMA error. */
-		printk("%s: Happy Meal receive FIFO overflow.\n", hp->dev->name);
-		reset = 1;
+		/* Receive FIFO overflow is harmless and the hardware will take
+		   care of it, just some packets are lost. Who cares. */
+		printk(KERN_DEBUG "%s: Happy Meal receive FIFO overflow.\n", hp->dev->name);
 	}
 
 	if(status & GREG_STAT_STSTERR) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)