LPT(4)                OpenBSD Programmer's Manual (Alpha)               LPT(4)

NAME
     lpt - Parallel port driver

SYNOPSIS
     lpt0 at isa? port "IO_LPT1" irq 7
     lpt1 at isa? port "IO_LPT2"

DESCRIPTION
     This driver provides access to parallel ports.

     The highest bit in the minor (bit 7, or add 128) number selects whether
     to do polling or wait for interrupts.  If no IRQ is specified in the ker-
     nel configuration, only the polling device may be used.

     The next lower bit (bit 6, or add 64) indicates the driver should avoid
     initializing the printer.  The next lower bit (bit 5, or add 32) requests
     that the driver do automatic LF generation when printing CR's.

FILES
     /dev/lpt0                         first interrupt-driven parallel port
                                       device
     /dev/lpa0                         first polled parallel port device

OpenBSD 2.9                     August 6, 1993                               1
