summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-08-18 20:45:57 +0000
committerphk <phk@FreeBSD.org>1999-08-18 20:45:57 +0000
commita84a396b6b149988f12b678460517eae6b76638a (patch)
tree8c551f954b80f166747a4bfc4ff48dcb7b378bcc /sys/dev/ppbus
parent5d53e6b7a65306859034070ed98cbfac10947a7e (diff)
downloadFreeBSD-src-a84a396b6b149988f12b678460517eae6b76638a.zip
FreeBSD-src-a84a396b6b149988f12b678460517eae6b76638a.tar.gz
Add pin-numbers for easy reference.
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r--sys/dev/ppbus/lpt.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/sys/dev/ppbus/lpt.h b/sys/dev/ppbus/lpt.h
index a40035e..3ca268d 100644
--- a/sys/dev/ppbus/lpt.h
+++ b/sys/dev/ppbus/lpt.h
@@ -34,7 +34,7 @@
* Id: lptreg.h,v 1.6 1997/02/22 09:36:52 peter Exp
* From Id: nlpt.h,v 1.3 1999/01/10 12:04:54 nsouch Exp
*
- * $Id: lpt.h,v 1.1 1999/02/14 11:59:59 nsouch Exp $
+ * $Id: lpt.h,v 1.2 1999/02/14 16:19:16 nsouch Exp $
*/
/*
@@ -50,16 +50,17 @@
/* machine independent definitions, it shall only depend on the ppbus
* parallel port model */
-#define LPS_NERR 0x08 /* printer no error */
-#define LPS_SEL 0x10 /* printer selected */
-#define LPS_OUT 0x20 /* printer out of paper */
-#define LPS_NACK 0x40 /* printer no ack of data */
-#define LPS_NBSY 0x80 /* printer no ack of data */
+ /* PIN */
+#define LPS_NERR 0x08 /* 15 printer no error */
+#define LPS_SEL 0x10 /* 13 printer selected */
+#define LPS_OUT 0x20 /* 12 printer out of paper */
+#define LPS_NACK 0x40 /* 10 printer no ack of data */
+#define LPS_NBSY 0x80 /* 11 printer busy */
-#define LPC_STB 0x01 /* strobe data to printer */
-#define LPC_AUTOL 0x02 /* automatic linefeed */
-#define LPC_NINIT 0x04 /* initialize printer */
-#define LPC_SEL 0x08 /* printer selected */
-#define LPC_ENA 0x10 /* enable IRQ */
+#define LPC_STB 0x01 /* 1 strobe data to printer */
+#define LPC_AUTOL 0x02 /* 14 automatic linefeed */
+#define LPC_NINIT 0x04 /* 16 initialize printer */
+#define LPC_SEL 0x08 /* 17 printer selected */
+#define LPC_ENA 0x10 /* - enable IRQ */
#endif
OpenPOWER on IntegriCloud