patch-2.4.20 linux-2.4.20/drivers/net/sun3lance.c
Next file: linux-2.4.20/drivers/net/sundance.c
Previous file: linux-2.4.20/drivers/net/smc-ultra32.c
Back to the patch index
Back to the overall index
-  Lines: 21
-  Date:
Thu Nov 28 15:53:14 2002
-  Orig file: 
linux-2.4.19/drivers/net/sun3lance.c
-  Orig date: 
Fri Aug  2 17:39:44 2002
diff -urN linux-2.4.19/drivers/net/sun3lance.c linux-2.4.20/drivers/net/sun3lance.c
@@ -280,16 +280,17 @@
 
 static int __init lance_probe( struct net_device *dev)
 {	
-	unsigned long ioaddr, iopte;
-	
+	unsigned long ioaddr;
 	struct lance_private	*lp;
 	int 			i;
 	static int 		did_version;
-	int found = 0;
 	volatile unsigned short *ioaddr_probe;
 	unsigned short tmp1, tmp2;
 
 #ifdef CONFIG_SUN3
+	unsigned long iopte;
+	int found = 0;
+
 	/* LANCE_OBIO can be found within the IO pmeg with some effort */
 	for(ioaddr = 0xfe00000; ioaddr < (0xfe00000 +
 	    SUN3_PMEG_SIZE); ioaddr += SUN3_PTE_SIZE) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)