patch-2.4.5 linux/drivers/net/tulip/eeprom.c

Next file: linux/drivers/net/tulip/interrupt.c
Previous file: linux/drivers/net/tulip/ChangeLog
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.4/linux/drivers/net/tulip/eeprom.c linux/drivers/net/tulip/eeprom.c
@@ -167,7 +167,8 @@
 
 	        /* there is no phy information, don't even try to build mtable */
 	        if (count == 0) {
-			DPRINTK("no phy info, aborting mtable build\n");
+			if (tulip_debug > 0)
+				printk(KERN_WARNING "%s: no phy info, aborting mtable build\n", dev->name);
 		        return;
 		}
 
@@ -259,7 +260,7 @@
 				   leaf->type);
 		}
 		if (new_advertise)
-			tp->to_advertise = new_advertise;
+			tp->sym_advertise = new_advertise;
 	}
 }
 /* Reading a serial EEPROM is a "bit" grungy, but we work our way through:->.*/

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