patch-2.4.4 linux/drivers/net/sun3lance.c

Next file: linux/drivers/net/sunbmac.c
Previous file: linux/drivers/net/stnic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/net/sun3lance.c linux/drivers/net/sun3lance.c
@@ -243,7 +243,7 @@
 
 int __init sun3lance_probe( struct net_device *dev )
 {	
-	static int found = 0;
+	static int found;
 
 	if(found)
 		return(ENODEV);
@@ -262,7 +262,7 @@
 	
 	struct lance_private	*lp;
 	int 			i;
-	static int 		did_version = 0;
+	static int 		did_version;
 	int found = 0;
 	volatile unsigned short *ioaddr_probe;
 	unsigned short tmp1, tmp2;
@@ -585,7 +585,7 @@
 	struct net_device *dev = dev_id;
 	struct lance_private *lp = dev->priv;
 	int csr0;
-	static int in_interrupt = 0;
+	static int in_interrupt;
 
 	if (dev == NULL) {
 		DPRINTK( 1, ( "lance_interrupt(): invalid dev_id\n" ));

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