All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitriy Zavin <dzavin@txc.com>
To: linux-kernel@vger.kernel.org
Subject: parport ieee1284 patch
Date: 11 Oct 2001 12:42:29 -0400	[thread overview]
Message-ID: <1002818550.1239.2.camel@nebula> (raw)

Hi gang,

I tried to compile 2.4.12 today and got some compile errors... seems
that someone forgot to put ECP in IEEE1284_PH_DIR_UNKNOWN (something
like that)

I am including the patch.. (2 lines long or so)

--Dima

PATCH_STARTS_HERE:
~~~~~~~~~~~~~~~~~~

--- linux-2.4.12/drivers/parport/ieee1284_ops.c.old	Thu Oct 11 12:16:23 2001
+++ linux-2.4.12/drivers/parport/ieee1284_ops.c	Thu Oct 11 12:16:44 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;
 	}

~~~~~~~~~~~~
END_OF_PATCH 



-- 


---------------------------------------------------------------------
 /#######/                     ###           @@  ##         $$
    $$   ## ##  $$$ $  ## ##  #   * $$   $$      $$   ###%  ##
    ##   $$$   ##  ##  $$$  $ .##   ##   ##  $$ #### $$   # $$$$%
    $$   ##    $$  $$  ##   #   ##. $$ @ $$  ##  $$  ##     ##  ##
    ##   $$    ##  ##  $$   % ,   # ## @ ##  $$  ##  $$   # $$  ##
    $$   ##     $$$ $$ $$   @  ###   $$ $$   &*  $$   ###%  ##  ##

 ___________________________________________________________________
/       Dmitriy Zavin          |  92 Montvale Avenue, Suite 3500    \
\  Member Technical Staff      |  Stoneham, MA 02180                /
/    Software Engineer         |  Phone: 781-438-1479 ext. 3344     \
\                              |  Fax:                              /
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


                 reply	other threads:[~2001-10-11 16:36 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=1002818550.1239.2.camel@nebula \
    --to=dzavin@txc.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.