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

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

diff -u --recursive --new-file v2.4.3/linux/drivers/net/sunqe.c linux/drivers/net/sunqe.c
@@ -1,4 +1,4 @@
-/* $Id: sunqe.c,v 1.50 2001/02/18 08:10:21 davem Exp $
+/* $Id: sunqe.c,v 1.51 2001/04/19 22:32:42 davem Exp $
  * sunqe.c: Sparc QuadEthernet 10baseT SBUS card driver.
  *          Once again I am out to prove that every ethernet
  *          controller out there can be most efficiently programmed
@@ -7,7 +7,7 @@
  * Copyright (C) 1996, 1999 David S. Miller (davem@redhat.com)
  */
 
-static char *version =
+static char version[] =
         "sunqe.c:v2.9 9/11/99 David S. Miller (davem@redhat.com)\n";
 
 #include <linux/module.h>
@@ -46,7 +46,7 @@
 
 #include "sunqe.h"
 
-static struct sunqec *root_qec_dev = NULL;
+static struct sunqec *root_qec_dev;
 
 static void qe_set_multicast(struct net_device *dev);
 
@@ -733,7 +733,7 @@
 /* Four QE's per QEC card. */
 static int __init qec_ether_init(struct net_device *dev, struct sbus_dev *sdev)
 {
-	static unsigned version_printed = 0;
+	static unsigned version_printed;
 	struct net_device *qe_devs[4];
 	struct sunqe *qeps[4];
 	struct sbus_dev *qesdevs[4];
@@ -983,7 +983,7 @@
 	struct net_device *dev = NULL;
 	struct sbus_bus *bus;
 	struct sbus_dev *sdev = 0;
-	static int called = 0;
+	static int called;
 	int cards = 0, v;
 
 	root_qec_dev = NULL;

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