patch-2.1.111 linux/drivers/char/lp.c

Next file: linux/drivers/char/msp3400.c
Previous file: linux/drivers/char/i2c.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.110/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -323,8 +323,8 @@
 		return -ENXIO;
 
 	lp_table[minor].last_error = 0;
-	lp_table[minor].irq_detected = 1;
-	lp_table[minor].irq_missed = 0;
+	lp_table[minor].irq_detected = 0;
+	lp_table[minor].irq_missed = 1;
 
 	w_ctr(minor, LP_PSELECP | LP_PINITP);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov