patch-2.3.99-pre7 linux/drivers/net/3c505.c
Next file: linux/drivers/net/3c507.c
Previous file: linux/drivers/net/3c503.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Tue May 2 12:40:58 2000
- Orig file:
v2.3.99-pre6/linux/drivers/net/3c505.c
- Orig date:
Tue Mar 7 14:32:25 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/3c505.c linux/drivers/net/3c505.c
@@ -1607,11 +1607,9 @@
}
#ifdef MODULE
-#define NAMELEN 9
-static char devicename[ELP_MAX_CARDS][NAMELEN] = {{0,}};
static struct net_device dev_3c505[ELP_MAX_CARDS] =
{
- { NULL, /* device name is inserted by net_init.c */
+ { "", /* device name is inserted by net_init.c */
0, 0, 0, 0,
0, 0,
0, 0, 0, NULL, elplus_probe},
@@ -1630,7 +1628,6 @@
for (this_dev = 0; this_dev < ELP_MAX_CARDS; this_dev++) {
struct net_device *dev = &dev_3c505[this_dev];
- dev->name = devicename[this_dev];
dev->irq = irq[this_dev];
dev->base_addr = io[this_dev];
if (dma[this_dev]) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)