From 24d9758bd18719318accf94f54bd34ae741ab0a4 Mon Sep 17 00:00:00 2001 From: csgr Date: Wed, 6 Apr 1994 20:21:33 +0000 Subject: Update lpt(4) man page to reflect recent changes to the lpt device driver. (also point out that lpa is now defunct.) --- share/man/man4/man4.i386/lpt.4 | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/share/man/man4/man4.i386/lpt.4 b/share/man/man4/man4.i386/lpt.4 index 070a53e..0fb8938 100644 --- a/share/man/man4/man4.i386/lpt.4 +++ b/share/man/man4/man4.i386/lpt.4 @@ -37,23 +37,37 @@ .Nd Parallel port driver .Sh SYNOPSIS +For interrupt-driven ports: .Cd "device lpt0 at isa? port" \&"IO_LPT1\&" tty irq 7 vector lptintr .Cd "device lpt1 at isa? port" \&"IO_LPT2\&" tty irq 7 vector lptintr .Cd "device lpt2 at isa? port" \&"IO_LPT3\&" tty irq 7 vector lptintr +.sp +For BIOS-probed ports: +.Cd "device lpt0 at isa? port? tty irq 7 vector lptintr" +.sp +For polled ports: +.Cd "device lpt0 at isa? port? tty" +.Cd "device lpt1 at isa? port" \&"IO_LPT2\&" tty .Sh DESCRIPTION -This driver provides access to parallel ports. It assumes that -the parallel port controller interrupts the CPU properly. If -this is not the case, the -.Nm lpa -driver should be used instead. +This driver provides access to parallel ports. +.sp +The driver can be configured either to be either interrupt-driven, or +to poll the printer. Ports that are configured to be +interrupt-driven can be switched to polled mode by using the +.Xr lptcontrol 1 +command. +.sp +This driver replaces the functionality of the +.Xr lpa 4 +driver, which is now defunct. .Sh FILES .Bl -tag -width Pa -compact .It Pa /dev/lpt0 first parallel port driver .El .Sh SEE ALSO -.Xr lpa 4 +.Xr lptcontrol 1 .Sh BUGS There are lots of them, especially in cheap parallel port implementations. .Pp -This driver could stand a rewrite. +This driver could still stand a rewrite. -- cgit v1.1