From: Mikael Pettersson <mikpe@csd.uu.se>
To: linux-kernel@vger.kernel.org
Subject: [BUG] 2.4.18-pre/rc broke PLIP
Date: Mon, 25 Feb 2002 00:20:53 +0100 (MET) [thread overview]
Message-ID: <200202242320.AAA15930@harpo.it.uu.se> (raw)
[sent to Tim Waugh and Marcelo previously, but of course
I managed to put a typo in the cc: to lkml]
Someone (sorry I forgot who) reported having problems with
PLIP in recent kernels. I've done some testing and can confirm
that PLIP worked up to 2.4.17 but broke in 2.4.18-pre/rc.
The only thing PLIP does is put "plip0: transmit timeout(1,87)"
messages in the kernel log.
After a lot of testing I've narrowed it down to the following
hunk in the 2.4.18-rc4 patch:
--- linux.orig/drivers/parport/parport_pc.c Mon Feb 18 20:18:40 2002
+++ linux/drivers/parport/parport_pc.c Mon Jan 14 19:08:50 2002
@@ -2212,7 +2233,7 @@
}
memcpy (ops, &parport_pc_ops, sizeof (struct parport_operations));
priv->ctr = 0xc;
- priv->ctr_writable = 0xff;
+ priv->ctr_writable = ~0x10;
priv->ecr = 0;
priv->fifo_depth = 0;
priv->dma_buf = 0;
If I back this hunk out, PLIP starts working again.
Is this fix sufficient or is there something else that need fixing?
/Mikael
next reply other threads:[~2002-02-24 23:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-24 23:20 Mikael Pettersson [this message]
2002-03-05 16:36 ` [BUG] 2.4.18-pre/rc broke PLIP Bill Davidsen
2002-03-05 16:55 ` Tim Waugh
2002-03-05 21:20 ` Bill Davidsen
2002-03-05 22:04 ` Tim Waugh
2002-03-06 19:08 ` Bill Davidsen
-- strict thread matches above, loose matches on Subject: below --
2002-03-07 3:47 Stas Sergeev
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=200202242320.AAA15930@harpo.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=linux-kernel@vger.kernel.org \
/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