2001-10-11 11:05:08

by Colin Bayer

[permalink] [raw]
Subject: Kernel 2.4.12 compile fails in ieee1284_ops.c

--- linux/drivers/parport/ieee1284_ops.c Thu Oct 11 03:42:35 2001
+++ linux-patched/drivers/parport/ieee1284_ops.c Thu Oct 11 04:01:10 2001
@@ -362,7 +362,7 @@
} else {
DPRINTK (KERN_DEBUG "%s: ECP direction: failed to reverse\n",
port->name);
- port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
+ port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
}

return retval;
@@ -394,7 +394,7 @@
DPRINTK (KERN_DEBUG
"%s: ECP direction: failed to switch forward\n",
port->name);
- port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
+ port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
}



Attachments:
1284_patch.diff (612.00 B)