Philip Blundell (philb@gnu.org)
Sat, 20 Mar 1999 14:00:04 +0000
Actually, it looks like the reason I wasn't getting any lp readback data was
because of a bug in the negotiation code. See what you think to this patch.
p.
--- clean/linux/drivers/misc/parport_ieee1284.c Sat Mar 20 12:24:38 1999
+++ linux/drivers/misc/parport_ieee1284.c Sat Mar 20 13:56:12 1999
@@ -465,7 +465,7 @@
/* xflag should be high for all modes other than nibble (0). */
xflag = parport_read_status (port) & PARPORT_STATUS_SELECT;
- if (!xflag || !mode) {
+ if (mode && !xflag) {
/* Mode not supported. */
DPRINTK (KERN_DEBUG "%s: Mode 0x%02x not supported\n",
port->name, mode);
-- 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 Sun 28 Mar 1999 - 17:04:13 EST