patch-1.3.84 linux/drivers/net/3c509.c
Next file: linux/fs/locks.c
Previous file: linux/drivers/char/pcxx.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Apr 4 09:17:19 1996
- Orig file:
v1.3.83/linux/drivers/net/3c509.c
- Orig date:
Tue Apr 2 13:32:20 1996
diff -u --recursive --new-file v1.3.83/linux/drivers/net/3c509.c linux/drivers/net/3c509.c
@@ -765,9 +765,17 @@
0, 0,
0, 0, 0, NULL, el3_probe };
+static int io = 0;
+static int irq = 0;
+
int
init_module(void)
{
+ dev_3c509.base_addr = io;
+ dev_3c509.irq = irq;
+ if (!EISA_bus && !io) {
+ printk("3c509: WARNING! Module load-time probing works reliably only for EISA bus!!\n");
+ }
if (register_netdev(&dev_3c509) != 0)
return -EIO;
return 0;
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