lkml.org 
[lkml]   [2001]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subjectparport ieee1284 patch
From
Date
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: /
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.057 / U:1.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site