public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Garst R. Reese" <reese@isn.net>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] parport.h ieee1284_ops.c 2.4.12
Date: Thu, 11 Oct 2001 12:39:39 -0300	[thread overview]
Message-ID: <3BC5BD3B.CA7A0747@isn.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 105 bytes --]

Attached patches fix my problems with 2.4.12
include/linux/parport.h
drivers/parport/ieee1284_ops.c
Garst

[-- Attachment #2: ieee1284_ops.c.diff --]
[-- Type: text/plain, Size: 561 bytes --]

--- ieee1284_ops.c~	Thu Oct 11 10:02:34 2001
+++ ieee1284_ops.c	Thu Oct 11 11:59:26 2001
@@ -362,7 +362,7 @@
 	} else {
 		DPRINTK (KERN_DEBUG "%s: ECP direction: failed to reverse\n",
 			 port->name);
-		port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
+		port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
 	}
 
 	return retval;
@@ -394,7 +394,7 @@
 		DPRINTK (KERN_DEBUG
 			 "%s: ECP direction: failed to switch forward\n",
 			 port->name);
-		port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
+		port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
 	}
 
 

[-- Attachment #3: parport.h.diff --]
[-- Type: text/plain, Size: 285 bytes --]

--- parport.h~	Thu Oct 11 11:29:28 2001
+++ parport.h	Thu Oct 11 11:57:08 2001
@@ -252,7 +252,7 @@
 	IEEE1284_PH_ECP_SETUP,
 	IEEE1284_PH_ECP_FWD_TO_REV,
 	IEEE1284_PH_ECP_REV_TO_FWD,
-	IEEE1284_PH_ECP_DIR_UNKNOWN,
+	IEEE1284_PH_ECP_DIR_UNKNOWN
 };
 struct ieee1284_info {
 	int mode;

                 reply	other threads:[~2001-10-11 15:39 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=3BC5BD3B.CA7A0747@isn.net \
    --to=reese@isn.net \
    --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