patch-1.3.18 linux/drivers/net/3c507.c
Next file: linux/drivers/net/3c509.c
Previous file: linux/drivers/net/3c505.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Fri Aug 11 09:26:59 1995
- Orig file:
v1.3.17/linux/drivers/net/3c507.c
- Orig date:
Wed Aug 9 14:55:39 1995
diff -u --recursive --new-file v1.3.17/linux/drivers/net/3c507.c linux/drivers/net/3c507.c
@@ -888,11 +888,13 @@
static struct device dev_3c507 = {
" " /*"3c507"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, el16_probe };
-int io = 0;
+int io = 0x300;
int irq = 0;
int init_module(void)
{
+ if (io == 0)
+ printk("3c507: You should not use auto-probing with insmod!\n");
dev_3c507.base_addr = io;
dev_3c507.irq = irq;
if (register_netdev(&dev_3c507) != 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