Subject: misc/2225: lpt.4 man page need elaboration
To: None <gnats-bugs@NetBSD.ORG>
From: Luke Mewburn <lukem@supp.cpr.itg.telecom.com.au>
List: netbsd-bugs
Date: 03/17/1996 12:21:38
>Number:         2225
>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:   lm
>Arrival-Date:   Sat Mar 16 20:50:03 1996
>Last-Modified:
>Originator:     Luke Mewburn
>Organization:
Werj
>Release:        NetBSD-current-960316
>Environment:

>Description:
	[note: I submitted this as misc/818 a *long* time ago, but cgd
	 felt that I didn't really elaborate that much. Here's a better
	 attempt.]

	lpt.4 doesn't really document the features of the lpt driver
	that can be enabled with various high bits in the minor number

>How-To-Repeat:
>Fix:
	apply this diff (in share/man/man4/man4.i386).
	it's a start anyway.  don't forget to close [misc/818] as well.

*** lpt.4.orig	Sat Oct 14 11:29:00 1995
--- lpt.4	Sun Mar 17 12:15:32 1996
***************
*** 29,37 ****
  .\"
  .\"	$Id: lpt.4,v 1.5 1995/02/17 09:43:44 jtc Exp $
  .\"
! .Dd August 6, 1993
  .Dt LPT 4 i386
! .Os NetBSD 0.8a
  .Sh NAME
  .Nm lpt
  .Nd
--- 29,37 ----
  .\"
  .\"	$Id: lpt.4,v 1.5 1995/02/17 09:43:44 jtc Exp $
  .\"
! .Dd March 17, 1996
  .Dt LPT 4 i386
! .Os NetBSD 1.1
  .Sh NAME
  .Nm lpt
  .Nd
***************
*** 41,51 ****
  .Cd "lpt0 at isa? port" \&"IO_LPT1\&" irq 7
  .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
  first interrupt-driven parallel port device
  .It Pa /dev/lpa0
--- 41,60 ----
  .Cd "lpt0 at isa? port" \&"IO_LPT1\&" irq 7
  .Cd "lpt1 at isa? port" \&"IO_LPT2\&"
  .Sh DESCRIPTION
! This driver provides access to parallel ports.
! If no IRQ is specified in the kernel configuration, only the polling
! device may be used.
! .Pp
! To enable certain features of the lpt driver, the following numbers
! should be added to the minor number:
! .Bl -column "Minor number" -offset indent -compact
! .Sy "Minor number"	Description
! .It "32"	Automatically send a LF with a CR.
! .It "64"	Disable priming upon open of device.
! .It "128"	Use polled instead of interrupt-driven device.
! .El
  .Sh FILES
! .Bl -tag -width "/dev/lpt0" -compact
  .It Pa /dev/lpt0
  first interrupt-driven parallel port device
  .It Pa /dev/lpa0
>Audit-Trail:
>Unformatted: