patch-1.3.18 linux/drivers/net/hp-plus.c
Next file: linux/drivers/net/hp.c
Previous file: linux/drivers/net/eexpress.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/hp-plus.c
- Orig date:
Wed Aug 9 14:55:40 1995
diff -u --recursive --new-file v1.3.17/linux/drivers/net/hp-plus.c linux/drivers/net/hp-plus.c
@@ -39,8 +39,6 @@
#include "8390.h"
-extern struct device *init_etherdev(struct device *dev, int sizeof_private,
- unsigned long *mem_startp);
/* A zero-terminated list of I/O addresses to be probed. */
static unsigned int hpplus_portlist[] =
@@ -372,11 +370,13 @@
static struct device dev_hp = {
" " /*"hp"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, hp_plus_probe };
-int io = 0;
+int io = 0x200;
int irq = 0;
int init_module(void)
{
+ if (io == 0)
+ printk("HP-plus: You should not use auto-probing with insmod!\n");
dev_hp.base_addr = io;
dev_hp.irq = irq;
if (register_netdev(&dev_hp) != 0) {
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this