lkml.org 
[lkml]   [2001]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 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.old Sat Jun 23 10:01:57 2001
+++ parport_probe.c Sat Jun 23 13:16:48 2001
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.031 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site