Subject: kern/33402: Incorrectly documented LPT pin assignments
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <nc@pcmagic.net>
List: netbsd-bugs
Date: 05/01/2006 08:35:00
>Number:         33402
>Category:       kern
>Synopsis:       Incorrectly documented LPT pin assignments
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 01 08:35:00 +0000 2006
>Originator:     Nenad Crnko
>Release:        current
>Organization:
>Environment:
>Description:
src/sys/dev/ic/lptreg.h incorrectly documents pin assignments
of the signals showing in the lpt_status register.

See http://www.lvr.com/files/ibmlpt.txt

>How-To-Repeat:

>Fix:
$ diff -u lptreg.h.orig lptreg.h 
--- lptreg.h.orig       2003-08-07 09:31:02.000000000 -0700
+++ lptreg.h    2006-05-01 01:05:55.000000000 -0700
@@ -45,7 +45,7 @@
  * On a standard DB25 parallel port, the bits show up as follows:
  *
  *   13   12   11   10    9    8    7    6    5    4    3    2    1 
- *  ~S7   S6   S5   S4   D7   D6   D5   D4   D3   D2   D1   D0  ~C0
+ *   S4   S5  ~S7   S6   D7   D6   D5   D4   D3   D2   D1   D0  ~C0
  *
  *      G    G    G    G    G    G    G    G   ~C3   C2   S3  ~C1
  *      25   24   23   22   21   20   19   18   17   16   15   14