lkml.org 
[lkml]   [2004]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] 2.6.10-rc1-mm4 xircom_tulip_cb.c doesn't compile
Date
SSIA, fix attached.

LLaP
bero
--- linux-2.6.9/drivers/net/tulip/xircom_tulip_cb.c.ark 2004-11-10 05:06:58.000000000 +0100
+++ linux-2.6.9/drivers/net/tulip/xircom_tulip_cb.c 2004-11-10 05:17:48.000000000 +0100
@@ -33,6 +33,13 @@

/* A few user-configurable values. */

+#define xircom_debug debug
+#ifdef XIRCOM_DEBUG
+static int xircom_debug = XIRCOM_DEBUG;
+#else
+static int xircom_debug = 1;
+#endif
+
/* Maximum events (Rx packets, etc.) to handle at each interrupt. */
static int max_interrupt_work = 25;

@@ -125,18 +132,11 @@
module_param(csr0, int, 0);

static int num_units;
-module_param_array(options, num_units, int, 0);
-module_param_array(full_duplex, num_units, int, 0);
+module_param_array(options, int, &num_units, 0);
+module_param_array(full_duplex, int, &num_units, 0);

#define RUN_AT(x) (jiffies + (x))

-#define xircom_debug debug
-#ifdef XIRCOM_DEBUG
-static int xircom_debug = XIRCOM_DEBUG;
-#else
-static int xircom_debug = 1;
-#endif
-
/*
Theory of Operation
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.137 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site