[PATCH] parport.h ieee1284_ops.c 2.4.12

Garst R. Reese (reese@isn.net)
Thu, 11 Oct 2001 12:39:39 -0300


This is a multi-part message in MIME format.
--------------A8A58F1C41C73B90940D837B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Attached patches fix my problems with 2.4.12
include/linux/parport.h
drivers/parport/ieee1284_ops.c
Garst
--------------A8A58F1C41C73B90940D837B
Content-Type: text/plain; charset=us-ascii;
name="ieee1284_ops.c.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ieee1284_ops.c.diff"

--- 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;
}


--------------A8A58F1C41C73B90940D837B
Content-Type: text/plain; charset=us-ascii;
name="parport.h.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="parport.h.diff"

--- 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;

--------------A8A58F1C41C73B90940D837B--

-
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/