patch-1.3.39 linux/drivers/net/3c501.c
Next file: linux/drivers/net/3c503.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
Thu Nov 9 08:24:04 1995
- Orig file:
v1.3.38/linux/drivers/net/3c501.c
- Orig date:
Wed Oct 4 14:14:30 1995
diff -u --recursive --new-file v1.3.38/linux/drivers/net/3c501.c linux/drivers/net/3c501.c
@@ -83,14 +83,7 @@
The 3c501 board.
*/
-#include <linux/config.h>
-#ifdef MODULE
#include <linux/module.h>
-#include <linux/version.h>
-#else
-#define MOD_INC_USE_COUNT
-#define MOD_DEC_USE_COUNT
-#endif
#include <linux/kernel.h>
#include <linux/sched.h>
@@ -102,6 +95,7 @@
#include <linux/string.h>
#include <linux/ioport.h>
#include <linux/errno.h>
+#include <linux/config.h> /* for CONFIG_IP_MULTICAST */
#include <asm/bitops.h>
#include <asm/io.h>
@@ -677,7 +671,6 @@
}
}
#ifdef MODULE
-char kernel_version[] = UTS_RELEASE;
static char devicename[9] = { 0, };
static struct device dev_3c501 = {
devicename, /* device name is inserted by linux/drivers/net/net_init.c */
@@ -685,8 +678,8 @@
0x280, 5,
0, 0, 0, NULL, el1_probe };
-int io=0x280;
-int irq=5;
+static int io=0x280;
+static int irq=5;
int
init_module(void)
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