* [PATCH] 2.2.20-pre, parport_probe, output truncated
@ 2001-06-23 11:34 Jean-Luc Coulon
0 siblings, 0 replies; only message in thread
From: Jean-Luc Coulon @ 2001-06-23 11:34 UTC (permalink / raw)
To: linux-kernel; +Cc: twaugh
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-23 11:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-23 11:34 [PATCH] 2.2.20-pre, parport_probe, output truncated Jean-Luc Coulon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox