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:

> Doesn't.
> I've also tried increasing the delay to ridiculously high numbers
> schedule_timeout (HZ * 5);
> without any changes. The userspace program, too, still wants the
> usleep(70001); before working.

Eek. Okay, just as a test, please try this out. If _this_ doesn't work,
try commenting out the 'assign_addrs' call a few lines above it.

Index: daisy.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/drivers/parport/daisy.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 daisy.c
--- daisy.c 1999/09/24 22:00:49 1.1.1.1
+++ daisy.c 1999/12/20 17:58:14
@@ -136,6 +136,7 @@
/* Find out the legacy device's IEEE 1284 device ID. */
deviceid = kmalloc (1000, GFP_KERNEL);
if (deviceid) {
+ schedule_timeout (HZ);
parport_device_id (numdevs - 1, deviceid, 1000);
kfree (deviceid);
}
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    [W:0.051 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site