patch-1.3.18 linux/drivers/net/eepro.c
Next file: linux/drivers/net/eexpress.c
Previous file: linux/drivers/net/e2100.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Fri Aug 11 09:27:01 1995
- Orig file:
v1.3.17/linux/drivers/net/eepro.c
- Orig date:
Wed Aug 9 14:55:40 1995
diff -u --recursive --new-file v1.3.17/linux/drivers/net/eepro.c linux/drivers/net/eepro.c
@@ -103,8 +103,7 @@
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
-extern struct device *init_etherdev(struct device *dev, int sizeof_private,
- unsigned long *mem_startp);
+
/* First, a few definitions that the brave might change. */
/* A zero-terminated list of I/O addresses to be probed. */
@@ -1137,12 +1136,14 @@
static struct device dev_eepro = {
" " /*"eepro"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, eepro_probe };
-int io = 0;
+int io = 0x200;
int irq = 0;
int
init_module(void)
{
+ if (io == 0)
+ printk("eepro: You should not use auto-probing with insmod!\n");
dev_eepro.base_addr = io;
dev_eepro.irq = irq;
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