Skip to contentSkip to conversation

2.2.20-pre, parport_probe, output truncated

PATCH New Jean-Luc Coulon 1 participant 1 message Jun 23, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.2.20-pre, parport_probe, output truncated

Hi,

When I load the 'lp' module, I got the following

[jean-luct@debian-f5ibh] ~ # modprobe lp
parport0: PC-style at 0x378 (0x778), irq 7 [SPP,ECP,ECPEPP,ECPPS2]
parport0: Unspecified, EPSON Styl
lp0: using parport0 (interrupt-driven).

After increasing the 'giveup' delay in parport_probe.c, I've the correct output :

[jean-luct@debian-f5ibh] ~ # modprobe lp
parport0: PC-style at 0x378 (0x778), irq 7 [SPP,ECP,ECPEPP,ECPPS2]
parport0: Printer, EPSON Stylus COLOR 500
lp0: using parport0 (interrupt-driven).

parport_probe.c Sat Jun 23 13:16:48 2001 renamed from parport_probe.old Sat Jun 23 10:01:57 2001 +1 -1
@@ -55,7 +55,7 @@
        unsigned int count = 0;
        unsigned char z=0;
        unsigned char Byte=0;
-       unsigned long igiveupat=jiffies+5*HZ;
+       unsigned long igiveupat=jiffies+9*HZ;
 
        for (i=0; time_before(jiffies, igiveupat); i++) {
               /* if(current->need_resched) schedule(); */

----
Regards
Jean-Luc