[LWN Logo]
[LWN.net]
From:	 Tim Waugh <twaugh@redhat.com>
To:	 Linus Torvalds <torvalds@transmeta.com>
Subject: Re: Uhhuh.. 2.4.12
Date:	 Thu, 11 Oct 2001 09:41:18 +0100
Cc:	 linux-kernel@vger.kernel.org

On Thu, Oct 11, 2001 at 08:30:52AM +0000, Linus Torvalds wrote:

> In article <Pine.LNX.4.33.0110110058550.1198-100000@penguin.transmeta.com>,
> Linus Torvalds  <torvalds@transmeta.com> wrote:
> >
> >So I made a 2.4.12, and renamed away the sorry excuse for a kernel that
> >2.4.11 was.
> >
> > - Tim Waugh: parport update
> 
> .. which is broken.
> 
> Not a good week. 

Here is the fix:

--- linux/drivers/parport/ieee1284_ops.c.orig	Thu Oct 11 09:40:39 2001
+++ linux/drivers/parport/ieee1284_ops.c	Thu Oct 11 09:40:42 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;
 	}
 
 
Sorry guys. *blush*

Tim.
*/
-
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/