2001-10-11 14:36:08

by Alexandre Pereira Nunes

[permalink] [raw]
Subject: Linux 2.4.12 - ieee1284_ops.c

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.