patch-1.3.18 linux/drivers/net/e2100.c
Next file: linux/drivers/net/eepro.c
Previous file: linux/drivers/net/depca.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/e2100.c
- Orig date:
Wed Aug 9 14:55:40 1995
diff -u --recursive --new-file v1.3.17/linux/drivers/net/e2100.c linux/drivers/net/e2100.c
@@ -359,11 +359,13 @@
static struct device dev_e2100 = {
" " /*"e2100"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, e2100_probe };
-int io = 0;
+int io = 0x300;
int irq = 0;
int init_module(void)
{
+ if (io == 0)
+ printk("e2100: You should not use auto-probing with insmod!\n");
dev_e2100.base_addr = io;
dev_e2100.irq = irq;
if (register_netdev(&dev_e2100) != 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