lkml.org 
[lkml]   [1999]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] to include/linux/lp.h
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/

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