patch-1.3.18 linux/drivers/net/3c503.c

Next file: linux/drivers/net/3c505.c
Previous file: linux/drivers/char/serial.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.17/linux/drivers/net/3c503.c linux/drivers/net/3c503.c
@@ -473,7 +473,7 @@
 static struct device el2pio_drv =
 {"3c503pio", 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, el2_pio_probe };
 
-int io = 0;
+int io = 0x300;
 int irq = 0;
 
 static int no_pio = 1;
@@ -484,6 +484,9 @@
 	el2_drv.irq       = irq;
 	el2pio_drv.base_addr = io;
 	el2pio_drv.irq       = irq;
+
+	if (io == 0)
+	  printk("3c503: You should not use auto-probing with insmod!\n");
 
 	rc2 = 0;
 	no_pio = 1;

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