From: Tim Waugh <twaugh@redhat.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: [patch] 2.4.3-pre1: parport fix (nAutoFd)
Date: Sat, 3 Mar 2001 00:44:13 +0000 [thread overview]
Message-ID: <20010303004413.F4835@redhat.com> (raw)
Linus,
Here is a patch that makes 2.4.x's behaviour more closely match that
of 2.2.x when a nibble mode read goes wrong. It prevents reading
processes from getting stuck in certain circumstances.
Tim.
*/
2001-03-02 Tim Waugh <twaugh@redhat.com>
* drivers/parport/ieee1284_ops.c (parport_ieee1284_read_nibble):
Reset nAutoFd on timeout. Matches 2.2.x behaviour.
--- linux/drivers/parport/ieee1284_ops.c.autofd Sat Mar 3 00:37:23 2001
+++ linux/drivers/parport/ieee1284_ops.c Sat Mar 3 00:37:23 2001
@@ -189,6 +189,7 @@
DPRINTK (KERN_DEBUG
"%s: Nibble timeout at event 9 (%d bytes)\n",
port->name, i/2);
+ parport_frob_control (port, PARPORT_CONTROL_AUTOFD, 0);
break;
}
reply other threads:[~2001-03-03 0:44 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=20010303004413.F4835@redhat.com \
--to=twaugh@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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