patch-1.3.18 linux/drivers/net/at1700.c
Next file: linux/drivers/net/depca.c
Previous file: linux/drivers/net/arcnet.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Fri Aug 11 09:27:01 1995
- Orig file:
v1.3.17/linux/drivers/net/at1700.c
- Orig date:
Wed Aug 9 14:55:40 1995
diff -u --recursive --new-file v1.3.17/linux/drivers/net/at1700.c linux/drivers/net/at1700.c
@@ -57,8 +57,6 @@
#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);
/* This unusual address order is used to verify the CONFIG register. */
static int at1700_probe_list[] =
@@ -634,11 +632,13 @@
static struct device dev_at1700 = {
" " /*"at1700"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, at1700_probe };
-int io = 0;
+int io = 0x260;
int irq = 0;
int init_module(void)
{
+ if (io == 0)
+ printk("at1700: You should not use auto-probing with insmod!\n");
dev_at1700.base_addr = io;
dev_at1700.irq = irq;
if (register_netdev(&dev_at1700) != 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