patch-1.3.19 linux/drivers/net/arcnet.c

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

diff -u --recursive --new-file v1.3.18/linux/drivers/net/arcnet.c linux/drivers/net/arcnet.c
@@ -193,6 +193,7 @@
 #include <linux/timer.h>
 #include <linux/errno.h>
 #include <linux/delay.h>
+#include <linux/if_arp.h>
 
 #include <asm/system.h>
 #include <asm/bitops.h>
@@ -2447,11 +2448,13 @@
 
 #ifdef MODULE
 char kernel_version[] = UTS_RELEASE;
+static char devicename[9] = { 0, };
 static struct device thiscard = {
-  "       ",/* if blank, device name inserted by /linux/drivers/net/net_init.c */
+  devicename, /* device name is inserted by linux/drivers/net/net_init.c */
   0, 0, 0, 0,
   0, 0,  /* I/O address, IRQ */
-  0, 0, 0, NULL, arcnet_probe };
+  0, 0, 0, NULL, arcnet_probe
+};
 	
 	
 int io=0x0;	/* <--- EDIT THESE LINES FOR YOUR CONFIGURATION */

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