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

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

diff -u --recursive --new-file v2.4.3/linux/drivers/net/daynaport.c linux/drivers/net/daynaport.c
@@ -250,12 +250,12 @@
 
 int __init mac8390_probe(struct net_device *dev)
 {
-	static int slots = 0;
+	static int slots;
 	volatile unsigned short *i;
 	volatile unsigned char *p;
 	int plen;
 	int id;
-	static struct nubus_dev* ndev = NULL;
+	static struct nubus_dev* ndev;
 
 	/* Find the first card that hasn't already been seen */
 	while ((ndev = nubus_find_type(NUBUS_CAT_NETWORK,

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