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

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

diff -u --recursive --new-file v1.3.17/linux/drivers/net/depca.c linux/drivers/net/depca.c
@@ -1829,6 +1829,8 @@
 int
 init_module(void)
 {
+  if (io == 0)
+    printk("depca: You should not use auto-probing with insmod!\n");
   thisDepca.irq=irq;
   thisDepca.base_addr=io;
   if (register_netdev(&thisDepca) != 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