patch-2.4.21 linux-2.4.21/drivers/net/sunlance.c

Next file: linux-2.4.21/drivers/net/sunqe.c
Previous file: linux-2.4.21/drivers/net/sunhme.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/net/sunlance.c linux-2.4.21/drivers/net/sunlance.c
@@ -1421,7 +1421,7 @@
 				       "'tpe-link-test?'\n", dev->name);
 				printk(KERN_NOTICE "%s: warning: mail any problems "
 				       "to ecd@skynet.be\n", dev->name);
-				set_auxio(AUXIO_LINK_TEST, 0);
+				auxio_set_lte(AUXIO_LTE_ON);
 			}
 no_link_test:
 			lp->auto_select = 1;
@@ -1502,6 +1502,7 @@
 #ifdef CONFIG_SUN4
 
 #include <asm/sun4paddr.h>
+#include <asm/machines.h>
 
 /* Find all the lance cards on the system and initialize them */
 static int __init sparc_lance_probe(void)

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