Re: Some more details on parport autoprobing bug

Tim Waugh (twaugh@redhat.com)
Mon, 20 Dec 1999 17:06:44 +0000 (GMT)


On Mon, 20 Dec 1999, Bernhard Rosenkraenzer wrote:

> 0.070001 seconds.

!! Okay, so something like this ought to do the trick:

Index: drivers/parport/parport_pc.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/drivers/parport/parport_pc.c,v
retrieving revision 1.13
diff -u -r1.13 parport_pc.c
--- drivers/parport/parport_pc.c 1999/11/08 17:04:56 1.13
+++ drivers/parport/parport_pc.c 1999/12/20 17:05:22
@@ -1692,7 +1692,7 @@
parport_pc_write_control(p,
PARPORT_CONTROL_SELECT
| PARPORT_CONTROL_INIT);
- udelay (50);
+ schedule_timeout ((HZ + 4) / 5);

/* Now that we've told the sharing engine about the port, and
found out its characteristics, let the high-level drivers

What about DMA then? Does specifying which DMA channel to use really make
a difference to anyone?

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/