no big deal. The ni65 driver might have the same problem, all others
should be ok.
Thomas.
--- orig/linux-pre-2.0.6/drivers/net/lance.c Tue May 14 00:19:56 1996
+++ linux-pre-2.0.6/drivers/net/lance.c Tue May 21 00:17:42 1996
@@ -283,6 +283,7 @@
static unsigned char lance_need_isa_bounce_buffers = 1;
static int lance_open(struct device *dev);
+static int lance_open_fail(struct device *dev);
static void lance_init_ring(struct device *dev);
static int lance_start_xmit(struct sk_buff *skb, struct device *dev);
static int lance_rx(struct device *dev);
@@ -422,6 +423,7 @@
}
dev = init_etherdev(0, 0);
+ dev->open = lance_open_fail;
chipname = chip_table[lance_version].name;
printk("%s: %s at %#3x,", dev->name, chipname, ioaddr);
@@ -596,6 +598,13 @@
return;
}
+
+static int
+lance_open_fail(struct device *dev)
+{
+ return -ENODEV;
+}
+
static int
-- That process _deserves_ to die ("My name is Linus Torvalds, prepare to die"). [Linus Torvalds on linux-kernel]