[PATCH] ieee1284_ops.c - definitely paper bag time for someone..

Alex Buell (alex.buell@tahallah.demon.co.uk)
Sat, 13 Oct 2001 01:14:40 +0100 (BST)


--- linux-2.4.12/drivers/parport/ieee1284_ops.orig Sat Oct 13 01:12:14 2001
+++ linux-2.4.12/drivers/parport/ieee1284_ops.c Sat Oct 13 01:11:26 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;
}

-- 
Top posters will be automatically killfiled.

http://www.tahallah.demon.co.uk

- 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/