2.4.3-pre1: parport fix (nAutoFd)
PATCH 1/1 2.4.3-pre1: parport fix (nAutoFd)
Linus,
Here is a patch that makes 2.4.x's behaviour more closely match that of 2.2.x when a nibble mode read goes wrong. It prevents reading processes from getting stuck in certain circumstances.
Tim.
*/
2001-03-02 Tim Waugh <[email protected]>
* drivers/parport/ieee1284_ops.c (parport_ieee1284_read_nibble):
Reset nAutoFd on timeout. Matches 2.2.x behaviour.
drivers/parport/ieee1284_ops.c renamed from drivers/parport/ieee1284_ops.c.autofd +1 -0
@@ -189,6 +189,7 @@DPRINTK (KERN_DEBUG "%s: Nibble timeout at event 9 (%d bytes)\n" , port->name, i/2 ); +parport_frob_control (port,PARPORT_CONTROL_AUTOFD ,0 );break ; }