Messages in this thread Patch in this message | | | Date | Mon, 20 Dec 1999 17:59:31 +0000 (GMT) | From | Tim Waugh <> | Subject | Re: 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/
| |