NetBSD Problem Report #33402
From www@netbsd.org Mon May 1 08:30:37 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 2B1ED63B89E; Mon, 1 May 2006 08:30:37 +0000 (UTC)
Message-Id: <20060501083037.2B1ED63B89E@narn.netbsd.org>
Date: Mon, 1 May 2006 08:30:37 +0000 (UTC)
From: nc@pcmagic.net
Reply-To: nc@pcmagic.net
To: gnats-bugs@netbsd.org
Subject: Incorrectly documented LPT pin assignments
X-Send-Pr-Version: www-1.0
>Number: 33402
>Category: kern
>Synopsis: Incorrectly documented LPT pin assignments
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon May 01 08:35:00 +0000 2006
>Closed-Date: Tue May 02 08:33:06 +0000 2006
>Last-Modified: Tue May 02 08:35:01 +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
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: martin@netbsd.org
State-Changed-When: Tue, 02 May 2006 08:33:06 +0000
State-Changed-Why:
Fixed, thanks.
From: Martin Husemann <martin@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/33402 CVS commit: src/sys/dev/ic
Date: Tue, 2 May 2006 08:31:03 +0000 (UTC)
Module Name: src
Committed By: martin
Date: Tue May 2 08:31:03 UTC 2006
Modified Files:
src/sys/dev/ic: lptreg.h
Log Message:
Fix some comments, mostly from Nenad Crnko in PR kern/33402.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/dev/ic/lptreg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.