lkml.org 
[lkml]   [1999]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Some more details on parport autoprobing bug
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site