> o little parport_probe anti hang patch. I don' t know if it' s the
> right fix... Philip any news?
diff -u linux/drivers/pnp/parport_probe.c:1.1.1.1
linux/drivers/pnp/parport_prob
e.c:1.1.1.1.2.1
--- linux/drivers/pnp/parport_probe.c:1.1.1.1 Fri Nov 20 00:03:20 1998
+++ linux/drivers/pnp/parport_probe.c Fri Nov 20 00:37:25 1998
@@ -54,8 +54,9 @@
unsigned int count = 0;
unsigned char z=0;
unsigned char Byte=0;
+ long igiveupat=jiffies+5*HZ;
- for (i=0; ; i++) {
+ for (i=0; time_before(jiffies, igiveupat); i++) {
...
Andrea, there is no need for this. Read the code. The loop is already
bounded by 2*length.
Tim.
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/