Also need this patch to the patch to allow 3c515 to be built as non-module.
Al added list of list which is needed by module, but
non-module might as well maintain it as well.
diff -Nru a/drivers/net/3c515.c b/drivers/net/3c515.c
--- a/drivers/net/3c515.c Thu Nov 13 10:46:27 2003
+++ b/drivers/net/3c515.c Thu Nov 13 10:46:27 2003
@@ -407,11 +407,12 @@
/* Note: this is the only limit on the number of cards supported!! */
static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1, };
-#ifdef MODULE
-static int debug = -1;
/* A list of all installed Vortex devices, for removing the driver module. */
/* we will need locking (and refcounting) if we ever use it for more */
static LIST_HEAD(root_corkscrew_dev);
+
+#ifdef MODULE
+static int debug = -1;
int init_module(void)
{
|