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

Next file: linux/drivers/net/ne.c
Previous file: linux/drivers/net/hp100.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.17/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -1201,10 +1201,12 @@
 static struct device dev_ibmtr = {
 	"        " /*"ibmtr"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, tok_probe };
 
-int io = 0;
+int io = 0xa20;
 
 int init_module(void)
 {
+	if (io == 0)
+	  printk("ibmtr: You should not use auto-probing with insmod!\n");
 	dev_ibmtr.base_addr = io;
 	dev_ibmtr.irq       = 0;
 	if (register_netdev(&dev_ibmtr) != 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