patch-2.4.27 linux-2.4.27/drivers/net/8390.c

Next file: linux-2.4.27/drivers/net/Config.in
Previous file: linux-2.4.27/drivers/net/8139too.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/drivers/net/8390.c linux-2.4.27/drivers/net/8390.c
@@ -1109,7 +1109,7 @@
 	for(i = 0; i < 6; i++) 
 	{
 		outb_p(dev->dev_addr[i], e8390_base + EN1_PHYS_SHIFT(i));
-		if(inb_p(e8390_base + EN1_PHYS_SHIFT(i))!=dev->dev_addr[i])
+		if (ei_debug > 1 && inb_p(e8390_base + EN1_PHYS_SHIFT(i))!=dev->dev_addr[i])
 			printk(KERN_ERR "Hw. address read/write mismap %d\n",i);
 	}
 

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