public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr>
To: linux-kernel@vger.kernel.org
Cc: twaugh@redhat.com
Subject: [PATCH] 2.2.20-pre, parport_probe, output truncated
Date: Sat, 23 Jun 2001 13:34:08 +0200	[thread overview]
Message-ID: <3B347EB0.C48939DB@wanadoo.fr> (raw)

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

                 reply	other threads:[~2001-06-23 11:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B347EB0.C48939DB@wanadoo.fr \
    --to=jean-luc.coulon@wanadoo.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=twaugh@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox