patch-1.3.15 linux/drivers/net/ne.c
Next file: linux/drivers/net/pi2.c
Previous file: linux/drivers/net/lance.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Aug 1 10:02:37 1995
- Orig file:
v1.3.14/linux/drivers/net/ne.c
- Orig date:
Fri Jul 7 08:54:47 1995
diff -u --recursive --new-file v1.3.14/linux/drivers/net/ne.c linux/drivers/net/ne.c
@@ -26,7 +26,7 @@
/* Routines for the NatSemi-based designs (NE[12]000). */
-static char *version =
+static const char *version =
"ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
#include <linux/kernel.h>
@@ -61,7 +61,7 @@
#ifdef CONFIG_NE_BAD_CLONES
/* A list of bad clones that we none-the-less recognize. */
-static struct { char *name8, *name16; unsigned char SAprefix[4];}
+static struct { const char *name8, *name16; unsigned char SAprefix[4];}
bad_clone_list[] = {
{"DE100", "DE200", {0x00, 0xDE, 0x01,}},
{"DE120", "DE220", {0x00, 0x80, 0xc8,}},
@@ -148,7 +148,7 @@
int i;
unsigned char SA_prom[32];
int wordlength = 2;
- char *name = NULL;
+ const char *name = NULL;
int start_page, stop_page;
int neX000, ctron;
int reg0 = inb_p(ioaddr);
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