parport_pc wrong log in pre-2.1.127-3

Andrea Arcangeli (andrea@e-mind.com)
Sat, 31 Oct 1998 01:18:14 +0100 (CET)


diff -u --recursive --new-file v2.1.126/linux/drivers/misc/parport_pc.c
linux/drivers/misc/parport_pc.c
--- v2.1.126/linux/drivers/misc/parport_pc.c Fri Oct 23 22:01:21 1998
+++ linux/drivers/misc/parport_pc.c Mon Oct 26 13:42:53 1998
@@ -7,6 +7,8 @@
* Andrea Arcangeli
*
* based on work by Grant Guenther <grant@torque.net> and Phil Blundell.
+ *
+ * Cleaned up include files - Russell King <linux@arm.uk.linux.org>
*/

/* This driver should work with any hardware that is broadly compatible
@@ -557,12 +559,12 @@
static int irq_probe_ECP(struct parport *pb)
{
int irqs, i;
-
+
sti();
irqs = probe_irq_on();

- parport_pc_write_econtrol(pb, 0x00); /* Reset FIFO */
- parport_pc_write_econtrol(pb, 0xd0); /* TEST FIFO + nErrIntrEn
*/
+ parport_pc_write_econtrol(pb, 0x00); /* Reset FIFO */
+ parport_pc_write_econtrol(pb, 0xd0); /* TEST FIFO + nErrIntrEn
*/

/* If Full FIFO sure that WriteIntrThresold is generated */
for (i=0; i < 1024 && !(parport_pc_read_econtrol(pb) & 0x02) ;
i++)

This patch does not clean #include files as stated by the log.

Andrea Arcangeli

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