Tim Waugh (twaugh@matra.co.uk)
Mon, 13 Jul 1998 16:40:06 +0100
> I looked at the code and found this: port->waittail isn't updated when
> the second device is added to the waitlist. This would also explain,
> why it only happens with three devices.
Aha! Thanks a lot for finding this! Here's a pseudo-patch:
/* First add ourselves to the end of the wait list. */
dev->waitnext = NULL;
dev->waitprev = port->waittail;
if (port->waittail)
port->waittail->waitnext = dev;
+ port->waittail = dev;
else {
port->waithead = dev->port->waittail = dev;
}
Tim.
*/
-- Tim Waugh Matra Systems (UK) LtdHome Farm, Leigh Road, Eastleigh SO50 9EU. Reg in Cardiff: 2642797
-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:57 EST