[PARPORT] ieee1284 compat mode performances


Andrea Arcangeli (andrea@e-mind.com)
Tue, 6 Apr 1999 22:54:46 +0200 (CEST)


When my Dad start a printing from his client my machine goes _down_. My
mouse stall completly and chars appear on the screen after msec of delay.
I am quite sure the overkill is the udelay().

Index: parport_ieee1284.c
===================================================================
RCS file: /var/cvs/linux/drivers/misc/parport_ieee1284.c,v
retrieving revision 1.1.2.13
retrieving revision 1.1.2.14
diff -u -r1.1.2.13 -r1.1.2.14
--- parport_ieee1284.c 1999/03/28 21:31:18 1.1.2.13
+++ parport_ieee1284.c 1999/04/06 20:23:18 1.1.2.14
@@ -68,6 +68,7 @@
         int counter;
         unsigned char status;
         
+#if 0 /* make my machine unusable if enabled -arca */
         /* 500usecs of fast polling.
          *
          * This should be adjustable.
@@ -84,6 +85,7 @@
                         break;
                 udelay(5);
         }
+#endif
 
         /* 40ms of slow polling. */
         for (counter = 0; counter < 4; counter++) {

Now I applyed this patch and recompiled and I'll see what will happens at
the next printing ;). I remeber we just discussed this issue some time
ago and at the end I agreed with you, but now that I become ill every time
there's a printing in progress I would like to reopen the issue ;).

For the record, I am using the last ieee1284 that Tim suggested me to use
some weeks ago.

Andrea 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 Tue 06 Apr 1999 - 16:57:05 EDT