Linux 2.4.12 - ieee1284_ops.c

From: Alexandre P. Nunes (alex@PolesApart.dhs.org)
Date: Thu Oct 11 2001 - 09:28:37 EST


Hi,

parport module doesn't compile, at least when enabled ieee 1284 options...
the cause is a typo, the patch should make it clear.

Cheers,

Alexandre

--- ieee1284_ops.c~ Thu Oct 11 11:10:37 2001
+++ ieee1284_ops.c Thu Oct 11 11:22:31 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;
         }

-- 
Life would be so much easier if we could just look at the source code.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:39 EST