patch-2.3.99-pre9 linux/drivers/parport/ieee1284_ops.c

Next file: linux/drivers/parport/parport_pc.c
Previous file: linux/drivers/parport/ieee1284.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/drivers/parport/ieee1284_ops.c linux/drivers/parport/ieee1284_ops.c
@@ -57,6 +57,7 @@
 
 	port->physport->ieee1284.phase = IEEE1284_PH_FWD_DATA;
 	parport_write_control (port, ctl);
+	parport_data_forward (port);
 	while (count < len) {
 		long expire = jiffies + dev->timeout;
 		long wait = (HZ + 99) / 100;
@@ -267,6 +268,9 @@
 			port->physport->ieee1284.phase = IEEE1284_PH_REV_IDLE;
 			break;
 		}
+
+		/* Event 14: Place data bus in high impedance state. */
+		parport_data_reverse (port);
 
 		/* Event 7: Set nAutoFd low. */
 		parport_frob_control (port,

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])