patch-1.3.82 linux/drivers/net/3c501.c

Next file: linux/drivers/net/3c509.c
Previous file: linux/drivers/char/stallion.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.81/linux/drivers/net/3c501.c linux/drivers/net/3c501.c
@@ -559,8 +559,9 @@
 			 *	FIXME: is there a logic to whether to keep on trying or
 			 *	reset immediately ?
 			 */
-			printk("%s: Unusual interrupt during Tx, txsr=%02x axsr=%02x"
-			   " gp=%03x rp=%03x.\n", dev->name, txsr, axsr,
+			if(el_debug>1)
+				printk("%s: Unusual interrupt during Tx, txsr=%02x axsr=%02x"
+			  		" gp=%03x rp=%03x.\n", dev->name, txsr, axsr,
 			inw(ioaddr + EL1_DATAPTR), inw(ioaddr + EL1_RXPTR));
 			dev->tbusy = 0;
 			mark_bh(NET_BH);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this