patch-1.3.17 linux/drivers/net/8390.c

Next file: linux/drivers/net/CONFIG
Previous file: linux/drivers/net/3c507.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.16/linux/drivers/net/8390.c linux/drivers/net/8390.c
@@ -84,7 +84,12 @@
 #ifdef EI_DEBUG
 int ei_debug = EI_DEBUG;
 #else
-int ei_debug = 1;
+int ei_debug = 0;
+#endif
+#ifdef EI_NOPINGPONG
+static int ei_pingpong = 0;
+#else
+static int ei_pingpong = 1;
 #endif
 
 /* Max number of packets received at one Intr.
@@ -594,9 +599,7 @@
 		dev->priv = kmalloc(sizeof(struct ei_device), GFP_KERNEL);
 		memset(dev->priv, 0, sizeof(struct ei_device));
 		ei_local = (struct ei_device *)dev->priv;
-#ifndef NO_PINGPONG
-		ei_local->pingpong = 1;
-#endif
+		ei_local->pingpong = ei_pingpong;
     }
     
     /* The open call may be overridden by the card-specific code. */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this