[PARPORT] lp fix


Andrea Arcangeli (arcangeli@mbox.queen.it)
Fri, 10 Jul 1998 12:59:58 +0200 (CEST)


Please Linus apply this simple patch to the kernel. I noticed this bug
only now ;-). People didn' t note it since they have fast printer and they
don' t run with `tunelp /dev/lp0 -c 1` as me...

Patch against 108.

--- linux/drivers/char/lp.c.orig Fri Jul 10 12:00:13 1998
+++ linux/drivers/char/lp.c Fri Jul 10 12:49:55 1998
@@ -323,7 +323,7 @@
                 return -ENXIO;
 
         lp_table[minor].last_error = 0;
- lp_table[minor].irq_detected = 0;
+ lp_table[minor].irq_detected = 1;
         lp_table[minor].irq_missed = 0;
 
         w_ctr(minor, LP_PSELECP | LP_PINITP);

Andrea[s] Arcangeli

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:56 EST