summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjal2 <jal2>2003-11-08 22:20:47 +0000
committerjal2 <jal2>2003-11-08 22:20:47 +0000
commit9f46188a71399ed16fb5d31613f8ae95df13bd29 (patch)
tree3d9f97d826ebcf617be438f5ada43be8872a045f
parent409a405975ebc5cb369c01b0949c59b139a679ff (diff)
0.11beta6: module_usbdfu.reset_delay initialization _before_ usage
-rw-r--r--Makefile4
-rw-r--r--at76c503-i3861.c6
-rw-r--r--at76c503-i3863.c6
-rw-r--r--at76c503-rfmd-acc.c6
-rw-r--r--at76c503-rfmd.c6
-rw-r--r--at76c505-rfmd.c6
-rw-r--r--at76c505-rfmd2958.c6
7 files changed, 20 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index 4f8234c..1079138 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-#$Id: Makefile,v 1.13 2003/10/29 22:00:02 jal2 Exp $
+#$Id: Makefile,v 1.14 2003/11/08 22:20:47 jal2 Exp $
-VERSION = 0.11beta5
+VERSION = 0.11beta6
CC=gcc
diff --git a/at76c503-i3861.c b/at76c503-i3861.c
index c3ec48b..565dfb3 100644
--- a/at76c503-i3861.c
+++ b/at76c503-i3861.c
@@ -179,6 +179,9 @@ static int __init mod_init(void)
info(DRIVER_DESC " " DRIVER_VERSION);
+ /* HZ became a variable with 2.4.23-preX */
+ module_usbdfu.reset_delay=2*HZ;
+
/* register with usbdfu so that the firmware will be automatically
* downloaded to the device on detection */
result = usbdfu_register(&module_usbdfu);
@@ -195,9 +198,6 @@ static int __init mod_init(void)
return -1;
}
- /* HZ became a variable with 2.4.23-preX */
- module_usbdfu.reset_delay=2*HZ;
-
return 0;
}
diff --git a/at76c503-i3863.c b/at76c503-i3863.c
index e6a2e99..b995934 100644
--- a/at76c503-i3863.c
+++ b/at76c503-i3863.c
@@ -133,6 +133,9 @@ static int __init mod_init(void)
info(DRIVER_DESC " " DRIVER_VERSION);
+ /* HZ became a variable with 2.4.23-preX */
+ module_usbdfu.reset_delay=2*HZ;
+
/* register with usbdfu so that the firmware will be automatically
* downloaded to the device on detection */
result = usbdfu_register(&module_usbdfu);
@@ -149,9 +152,6 @@ static int __init mod_init(void)
return -1;
}
- /* HZ became a variable with 2.4.23-preX */
- module_usbdfu.reset_delay=2*HZ;
-
return 0;
}
diff --git a/at76c503-rfmd-acc.c b/at76c503-rfmd-acc.c
index 5de74a1..2c90171 100644
--- a/at76c503-rfmd-acc.c
+++ b/at76c503-rfmd-acc.c
@@ -131,6 +131,9 @@ static int __init mod_init(void)
info(DRIVER_DESC " " DRIVER_VERSION);
+ /* HZ became a variable with 2.4.23-preX */
+ module_usbdfu.reset_delay=2*HZ;
+
/* register with usbdfu so that the firmware will be automatically
* downloaded to the device on detection */
result = usbdfu_register(&module_usbdfu);
@@ -147,9 +150,6 @@ static int __init mod_init(void)
return -1;
}
- /* HZ became a variable with 2.4.23-preX */
- module_usbdfu.reset_delay=2*HZ;
-
return 0;
}
diff --git a/at76c503-rfmd.c b/at76c503-rfmd.c
index b86209c..34ebf18 100644
--- a/at76c503-rfmd.c
+++ b/at76c503-rfmd.c
@@ -177,6 +177,9 @@ static int __init mod_init(void)
info(DRIVER_DESC " " DRIVER_VERSION);
+ /* HZ became a variable with 2.4.23-preX */
+ module_usbdfu.reset_delay=2*HZ;
+
/* register with usbdfu so that the firmware will be automatically
* downloaded to the device on detection */
result = usbdfu_register(&module_usbdfu);
@@ -193,9 +196,6 @@ static int __init mod_init(void)
return -1;
}
- /* HZ became a variable with 2.4.23-preX */
- module_usbdfu.reset_delay=2*HZ;
-
return 0;
}
diff --git a/at76c505-rfmd.c b/at76c505-rfmd.c
index f36d9f2..c3ade6b 100644
--- a/at76c505-rfmd.c
+++ b/at76c505-rfmd.c
@@ -129,6 +129,9 @@ static int __init mod_init(void)
info(DRIVER_DESC " " DRIVER_VERSION);
+ /* HZ became a variable with 2.4.23-preX */
+ module_usbdfu.reset_delay=2*HZ;
+
/* register with usbdfu so that the firmware will be automatically
* downloaded to the device on detection */
result = usbdfu_register(&module_usbdfu);
@@ -145,9 +148,6 @@ static int __init mod_init(void)
return -1;
}
- /* HZ became a variable with 2.4.23-preX */
- module_usbdfu.reset_delay=2*HZ;
-
return 0;
}
diff --git a/at76c505-rfmd2958.c b/at76c505-rfmd2958.c
index 6344028..09d549d 100644
--- a/at76c505-rfmd2958.c
+++ b/at76c505-rfmd2958.c
@@ -133,6 +133,9 @@ static int __init mod_init(void)
info(DRIVER_DESC " " DRIVER_VERSION);
+ /* HZ became a variable with 2.4.23-preX */
+ module_usbdfu.reset_delay=2*HZ;
+
/* register with usbdfu so that the firmware will be automatically
* downloaded to the device on detection */
result = usbdfu_register(&module_usbdfu);
@@ -149,9 +152,6 @@ static int __init mod_init(void)
return -1;
}
- /* HZ became a variable with 2.4.23-preX */
- module_usbdfu.reset_delay=2*HZ;
-
return 0;
}