Subject: misc/818: lpt.4 man page needs elaboration
To: None <gnats-admin@NetBSD.ORG>
From: Luke Mewburn <lukem@dodo.melb.cpr.itg.telecom.com.au>
List: netbsd-bugs
Date: 02/22/1995 22:20:10
>Number: 818
>Category: misc
>Synopsis: lpt.4 man page needs elaboration
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 22 22:20:04 1995
>Originator: Luke Mewburn
>Organization:
" Werj"
>Release: 1.0
>Environment:
System: NetBSD dodo 1.0 NetBSD 1.0 (DODO) #7: Fri Dec 16 17:01:27 EST 1994 simonb@dodo:/slab/0/src/sys/arch/i386/compile/DODO i386
>Description:
The man page for the lpt driver doesn't document all of the
supported bits in the minor number.
It's also probably in the wrong section (man4.i386) since the
driver is now in /sys/dev/isa instead of /sys/arch/i386/isa.
>How-To-Repeat:
"man lpt" and try to find out what bit 5 of the minor number
does...
>Fix:
apply this patch.
*** lpt.4.orig Thu Feb 23 16:02:55 1995
--- lpt.4 Thu Feb 23 15:59:03 1995
***************
*** 42,49 ****
.Cd "lpt1 at isa? port" \&"IO_LPT2\&"
.Sh DESCRIPTION
This driver provides access to parallel ports. The highest bit in the minor
! number selects whether to do polling or wait for interrupts. If no IRQ is
! specified in the kernel configuration, only the polling device may be used.
.Sh FILES
.Bl -tag -width Pa -compact
.It Pa /dev/lpt0
--- 42,52 ----
.Cd "lpt1 at isa? port" \&"IO_LPT2\&"
.Sh DESCRIPTION
This driver provides access to parallel ports. The highest bit in the minor
! number selects whether to do polling or wait for interrupts. Setting
! the second highest bit disables priming of the printer when the device
! is opened. Setting the third highest bit enables automatic generation
! of linefeeds on receipt of a carriage return. If no IRQ is specified
! in the kernel configuration, only the polling device may be used.
.Sh FILES
.Bl -tag -width Pa -compact
.It Pa /dev/lpt0
>Audit-Trail:
>Unformatted: