[patch] to include/linux/lp.h

kissg@sztaki.hu
Mon, 07 Jun 1999 17:12:01 +0200 (MET DST)


Hi, Linus!

This patch is mostly cosmetical.
Curently the 'interrupt enable' bit of parallel port has a symbol but
it is mixed with the comment of the missing 'direction' bit.

Affected versions: 2.X, 1.3.18+
The patch below is applicable to 2.0.36.

Regards

Gabor

--- include/linux/lp.h.orig Thu Nov 30 13:03:38 1995
+++ include/linux/lp.h Mon Jun 7 14:33:35 1999
@@ -139,7 +139,8 @@
* base + 2
* accessed with LP_C(minor)
*/
-#define LP_PINTEN 0x10 /* high to read data in or-ed with data out */
+#define LP_PINPUT 0x20 /* high to read data in or-ed with data out */
+#define LP_PINTEN 0x10 /* high to enable interrupts */
#define LP_PSELECP 0x08 /* inverted output, active low */
#define LP_PINITP 0x04 /* unchanged output, active low */
#define LP_PAUTOLF 0x02 /* inverted output, active low */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/