Remove the lpt(4) page, and fix references in the lp(4) and rdp(4) pages.
Also fix a language nit in the rdp(4) page.
This commit is contained in:
parent
807ef708be
commit
9f4715bb5b
@ -1,9 +1,9 @@
|
|||||||
# $Id: Makefile,v 1.95 1999/01/20 11:36:26 jkh Exp $
|
# $Id: Makefile,v 1.96 1999/02/07 05:40:13 yokota Exp $
|
||||||
|
|
||||||
MAN4= adv.4 adw.4 aha.4 ahb.4 ahc.4 aic.4 apm.4 ar.4 asc.4 atkbd.4 \
|
MAN4= adv.4 adw.4 aha.4 ahb.4 ahc.4 aic.4 apm.4 ar.4 asc.4 atkbd.4 \
|
||||||
atkbdc.4 ax.4 bktr.4 bt.4 cs.4 cx.4 cy.4 de.4 \
|
atkbdc.4 ax.4 bktr.4 bt.4 cs.4 cx.4 cy.4 de.4 \
|
||||||
dgb.4 dpt.4 ed.4 el.4 en.4 ep.4 ex.4 fdc.4 fe.4 fxp.4 gsc.4 ie.4 \
|
dgb.4 dpt.4 ed.4 el.4 en.4 ep.4 ex.4 fdc.4 fe.4 fxp.4 gsc.4 ie.4 \
|
||||||
io.4 joy.4 keyboard.4 labpc.4 le.4 lnc.4 lp.4 lpt.4 matcd.4 mcd.4 \
|
io.4 joy.4 keyboard.4 labpc.4 le.4 lnc.4 lp.4 matcd.4 mcd.4 \
|
||||||
mem.4 meteor.4 mouse.4 mse.4 mtio.4 mx.4 ncr.4 npx.4 \
|
mem.4 meteor.4 mouse.4 mse.4 mtio.4 mx.4 ncr.4 npx.4 \
|
||||||
pcf.4 pcm.4 pcvt.4 perfmon.4 pn.4 pnp.4 ppc.4 psm.4 \
|
pcf.4 pcm.4 pcvt.4 perfmon.4 pn.4 pnp.4 ppc.4 psm.4 \
|
||||||
rdp.4 rl.4 sb.4 scd.4 screen.4 si.4 sio.4 \
|
rdp.4 rl.4 sb.4 scd.4 screen.4 si.4 sio.4 \
|
||||||
@ -46,8 +46,7 @@ MLINKS+= keyboard.4 ../keyboard.4
|
|||||||
MLINKS+= labpc.4 ../labpc.4
|
MLINKS+= labpc.4 ../labpc.4
|
||||||
MLINKS+= le.4 ../le.4
|
MLINKS+= le.4 ../le.4
|
||||||
MLINKS+= lnc.4 ../lnc.4
|
MLINKS+= lnc.4 ../lnc.4
|
||||||
MLINKS+= lp.4 ../lp.4
|
MLINKS+= lp.4 ../lp.4 lp.4 plip.4 lp.4 ../plip.4
|
||||||
MLINKS+= lpt.4 ../lpt.4
|
|
||||||
MLINKS+= matcd.4 ../matcd.4
|
MLINKS+= matcd.4 ../matcd.4
|
||||||
MLINKS+= mcd.4 ../mcd.4
|
MLINKS+= mcd.4 ../mcd.4
|
||||||
MLINKS+= mem.4 kmem.4 mem.4 ../mem.4 mem.4 ../kmem.4
|
MLINKS+= mem.4 kmem.4 mem.4 ../mem.4 mem.4 ../kmem.4
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id: lp.4,v 1.6 1998/10/15 20:36:55 wosch Exp $
|
.\" $Id: lp.4,v 1.7 1998/10/22 14:12:55 bde Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd March 4, 1996
|
.Dd March 4, 1996
|
||||||
.Os
|
.Os
|
||||||
@ -43,7 +43,7 @@
|
|||||||
.Nm ifconfig lp0
|
.Nm ifconfig lp0
|
||||||
.Ar myaddress hisaddress
|
.Ar myaddress hisaddress
|
||||||
.Op Fl link0
|
.Op Fl link0
|
||||||
.Cd "device lpt0 at isa? port? tty irq 7"
|
.Cd "device plip0 at ppbus?"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
@ -53,29 +53,21 @@ Data is transferred 4 bits at a time, using the printer status lines for
|
|||||||
input: hence there is no requirement for special bidirectional hardware
|
input: hence there is no requirement for special bidirectional hardware
|
||||||
and any standard AT-compatible printer port with working interrupts may be used.
|
and any standard AT-compatible printer port with working interrupts may be used.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
During the boot process, for each
|
||||||
.Nm
|
.Nm ppc
|
||||||
driver is implemented as an integral part of the
|
device which is probed and has an interrupt assigned, a corresponding
|
||||||
.Nm lpt
|
|
||||||
driver, and will automatically be present in a kernel configured with
|
|
||||||
Internet support and at least one
|
|
||||||
.Nm lpt
|
|
||||||
device. During the boot process, for each
|
|
||||||
.Nm lpt
|
|
||||||
printer device which is probed and has an interrupt assigned, a corresponding
|
|
||||||
.Nm
|
.Nm
|
||||||
network device is created. Available devices are announced with a message
|
network device is created. Available devices are announced with a message
|
||||||
such as:
|
such as:
|
||||||
.Dl lp0: TCP/IP capable interface
|
.Dl lp0: TCP/IP capable interface
|
||||||
.Pp
|
.Pp
|
||||||
Initially, the
|
Configuring an
|
||||||
.Nm lpt
|
|
||||||
device is active for printing and the network interface is inactive; however,
|
|
||||||
once the corresponding
|
|
||||||
.Nm
|
.Nm
|
||||||
device has been configured 'up' with
|
device with
|
||||||
.Xr ifconfig 8
|
.Xr ifconfig 8
|
||||||
printing is disabled until the network interface is configured 'down'.
|
causes the corresponding
|
||||||
|
.Nm ppc
|
||||||
|
device to be reserved for PLIP until the network interface is configured 'down'.
|
||||||
.Pp
|
.Pp
|
||||||
The communication protocol is selected by the
|
The communication protocol is selected by the
|
||||||
.Cm link0
|
.Cm link0
|
||||||
@ -219,7 +211,8 @@ End of packet is deduced from the packet length and is not signalled
|
|||||||
specially (although the data lines are restored to the zero, idle
|
specially (although the data lines are restored to the zero, idle
|
||||||
state to avoid spuriously indicating the start of the next packet).
|
state to avoid spuriously indicating the start of the next packet).
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr lpt 4 ,
|
.Xr ppbus 4 ,
|
||||||
|
.Xr ppc 4 ,
|
||||||
.Xr ifconfig 8 .
|
.Xr ifconfig 8 .
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
Busy-waiting loops are used while handshaking bytes, (and worse still when
|
Busy-waiting loops are used while handshaking bytes, (and worse still when
|
||||||
|
@ -1,81 +0,0 @@
|
|||||||
.\"
|
|
||||||
.\" Copyright (c) 1993 Christopher G. Demetriou
|
|
||||||
.\" Copyright (c) 1994 Geoffrey M. Rehmet
|
|
||||||
.\" All rights reserved.
|
|
||||||
.\"
|
|
||||||
.\" Redistribution and use in source and binary forms, with or without
|
|
||||||
.\" modification, are permitted provided that the following conditions
|
|
||||||
.\" are met:
|
|
||||||
.\" 1. Redistributions of source code must retain the above copyright
|
|
||||||
.\" notice, this list of conditions and the following disclaimer.
|
|
||||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
.\" notice, this list of conditions and the following disclaimer in the
|
|
||||||
.\" documentation and/or other materials provided with the distribution.
|
|
||||||
.\" 3. All advertising materials mentioning features or use of this software
|
|
||||||
.\" must display the following acknowledgement:
|
|
||||||
.\" This product includes software developed by Christopher G. Demetriou.
|
|
||||||
.\" 3. The name of the author may not be used to endorse or promote products
|
|
||||||
.\" derived from this software withough specific prior written permission
|
|
||||||
.\"
|
|
||||||
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
||||||
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
||||||
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
||||||
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
||||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
||||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
||||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
||||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
.\"
|
|
||||||
.\" from: lpt.4,v 1.1 1993/08/06 10:34:12 cgd Exp
|
|
||||||
.\" $Id: lpt.4,v 1.7 1998/10/15 20:27:26 wosch Exp $
|
|
||||||
.\"
|
|
||||||
.Dd August 28, 1993
|
|
||||||
.Dt LPT 4 i386
|
|
||||||
.Os FreeBSD
|
|
||||||
.Sh NAME
|
|
||||||
.Nm lpt
|
|
||||||
.Nd
|
|
||||||
Parallel port driver
|
|
||||||
.Sh SYNOPSIS
|
|
||||||
For interrupt-driven ports:
|
|
||||||
.Cd "device lpt0 at isa? port" \&"IO_LPT1\&" tty irq 7
|
|
||||||
.Cd "device lpt1 at isa? port" \&"IO_LPT2\&" tty irq 7
|
|
||||||
.Cd "device lpt2 at isa? port" \&"IO_LPT3\&" tty irq 7
|
|
||||||
.Pp
|
|
||||||
For BIOS-probed ports:
|
|
||||||
.Cd "device lpt0 at isa? port? tty irq 7"
|
|
||||||
.Pp
|
|
||||||
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.
|
|
||||||
.Pp
|
|
||||||
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 8
|
|
||||||
command.
|
|
||||||
.Pp
|
|
||||||
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 lp 4 ,
|
|
||||||
.Xr lptcontrol 8
|
|
||||||
.Sh BUGS
|
|
||||||
There are lots of them, especially in cheap parallel port implementations.
|
|
||||||
.Pp
|
|
||||||
It is only possible to open a lpt port when a printer is connected and
|
|
||||||
on-line, making it impossible to run
|
|
||||||
.Xr lptcontrol 8
|
|
||||||
when there is no printer connected.
|
|
||||||
.Pp
|
|
||||||
This driver could still stand a rewrite.
|
|
@ -24,7 +24,7 @@
|
|||||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id: rdp.4,v 1.1.1.1 1998/12/21 12:43:35 j Exp $
|
.\" $Id: rdp.4,v 1.1.1.1 1998/12/21 18:01:15 joerg Exp $
|
||||||
.\"
|
.\"
|
||||||
.\"
|
.\"
|
||||||
.\" " (emacs disconfusion)
|
.\" " (emacs disconfusion)
|
||||||
@ -77,7 +77,7 @@ flag
|
|||||||
might help in diagnosing the reason. Since the RTL 8002 requires
|
might help in diagnosing the reason. Since the RTL 8002 requires
|
||||||
the availability of a working interrupt for the printer adapter (unlike
|
the availability of a working interrupt for the printer adapter (unlike
|
||||||
the
|
the
|
||||||
.Xr lpt 4
|
.Xr ppc 4
|
||||||
driver), the
|
driver), the
|
||||||
.Nm
|
.Nm
|
||||||
driver fails to attach if the ethernet adapter cannot assert an
|
driver fails to attach if the ethernet adapter cannot assert an
|
||||||
@ -90,8 +90,8 @@ The
|
|||||||
driver internally sets a flag so it gets probed very early. This way,
|
driver internally sets a flag so it gets probed very early. This way,
|
||||||
it is possible to configure both, an
|
it is possible to configure both, an
|
||||||
.Nm
|
.Nm
|
||||||
driver as well as an
|
driver as well as a
|
||||||
.Xr lpt 4
|
.Xr ppc 4
|
||||||
driver into the same kernel. If no RTL 8002 hardware is present, probing
|
driver into the same kernel. If no RTL 8002 hardware is present, probing
|
||||||
will eventually detect the printer driver.
|
will eventually detect the printer driver.
|
||||||
.Sh DIAGNOSTICS
|
.Sh DIAGNOSTICS
|
||||||
@ -121,15 +121,15 @@ return a notification of the (successful or failed) transmission. The
|
|||||||
hardware is likely to be wedged, and is being reset.
|
hardware is likely to be wedged, and is being reset.
|
||||||
.Pp
|
.Pp
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr lpt 4 ,
|
.Xr ppc 4 ,
|
||||||
.Xr ifconfig 8
|
.Xr ifconfig 8
|
||||||
.Sh AUTHORS
|
.Sh AUTHORS
|
||||||
This driver was written by
|
This driver was written by
|
||||||
.ie t J\(:org Wunsch,
|
.ie t J\(:org Wunsch,
|
||||||
.el Joerg Wunsch,
|
.el Joerg Wunsch,
|
||||||
based on RealTek's packet driver for the RTL 8002, as well as on some
|
based on RealTek's packet driver for the RTL 8002, as well as on some
|
||||||
description of the successor chip, RTL 8012, RealTek was gratefully
|
description of the successor chip, RTL 8012, gracefully provided by
|
||||||
providing.
|
RealTek.
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
There are certainly many of them.
|
There are certainly many of them.
|
||||||
.Pp
|
.Pp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user