patch-2.3.40 linux/drivers/parport/parport_pc.c
Next file: linux/drivers/pci/Makefile
Previous file: linux/drivers/parport/ieee1284_ops.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu Jan 13 12:03:00 2000
-  Orig file: 
v2.3.39/linux/drivers/parport/parport_pc.c
-  Orig date: 
Tue Jan 11 22:31:40 2000
diff -u --recursive --new-file v2.3.39/linux/drivers/parport/parport_pc.c linux/drivers/parport/parport_pc.c
@@ -740,7 +740,7 @@
 		printk (KERN_DEBUG "%s: FIFO is stuck\n", port->name);
 
 		/* Prevent further data transfer. */
-		frob_econtrol (port, 0xe0, ECR_TST);
+		frob_econtrol (port, 0xe0, ECR_TST << 5);
 
 		/* Adjust for the contents of the FIFO. */
 		for (written -= priv->fifo_depth; ; written++) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)