patch-1.3.18 linux/drivers/net/eexpress.c

Next file: linux/drivers/net/hp-plus.c
Previous file: linux/drivers/net/eepro.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.17/linux/drivers/net/eexpress.c linux/drivers/net/eexpress.c
@@ -1006,12 +1006,14 @@
 	"        " /*"eexpress"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, express_probe };
 	
 
-int irq=0;
+int irq=0x300;
 int io=0;	
 
 int
 init_module(void)
 {
+	if (io == 0)
+	  printk("eexpress: You should not use auto-probing with insmod!\n");
 	dev_eexpress.base_addr=io;
 	dev_eexpress.irq=irq;
 	if (register_netdev(&dev_eexpress) != 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