patch-2.2.14 linux/drivers/net/myri_sbus.c

Next file: linux/drivers/net/ncr885_debug.h
Previous file: linux/drivers/net/mixcom.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.13/linux/drivers/net/myri_sbus.c linux/drivers/net/myri_sbus.c
@@ -222,11 +222,11 @@
 	}
 
 	if(i == 5000)
-		printk("myricom: Chip would not reset after firmware load.\n");
+		printk(KERN_ERR "myricom: Chip would not reset after firmware load.\n");
 
 	i = myri_do_handshake(mp);
 	if(i)
-		printk("myricom: Handshake with LANAI failed.\n");
+		printk(KERN_ERR "myricom: Handshake with LANAI failed.\n");
 
 	if(mp->eeprom.cpuvers == CPUVERS_4_0)
 		mp->lregs->vers = 0;
@@ -575,7 +575,7 @@
 			return 1;
 		} else {
 			DTX(("resetting, return 0\n"));
-			printk("%s: transmit timed out, resetting\n", dev->name);
+			printk(KERN_ERR "%s: transmit timed out, resetting\n", dev->name);
 			mp->enet_stats.tx_errors++;
 			myri_init(mp, in_interrupt());
 			dev->tbusy = 0;

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