Index: head/share/man/man4/Makefile =================================================================== --- head/share/man/man4/Makefile (revision 43999) +++ head/share/man/man4/Makefile (revision 44000) @@ -1,31 +1,32 @@ # @(#)Makefile 8.1 (Berkeley) 6/18/93 MAN4= bpf.4 bridge.4 ccd.4 cd.4 ch.4 da.4 ddb.4 divert.4 drum.4 \ dummynet.4 fd.4 fpa.4 \ icmp.4 ifmib.4 iic.4 iicbb.4 iicbus.4 iicsmb.4 \ inet.4 intpm.4 intro.4 ip.4 ipfirewall.4 \ - lkm.4 lo.4 lpbb.4 lpt.4 natm.4 netintro.4 \ + lkm.4 lo.4 lp.4 lpbb.4 lpt.4 natm.4 netintro.4 \ null.4 od.4 pass.4 ppbus.4 ppi.4 ppp.4 pt.4 pty.4 \ route.4 sa.4 scsi.4 \ sd.4 sl.4 smb.4 smbus.4 smp.4 snp.4 sppp.4 ssc.4 st.4 su.4 tcp.4 \ ttcp.4 termios.4 tty.4 tun.4 udp.4 uk.4 update.4 unix.4 vinum.4 vn.4 \ vpo.4 worm.4 wst.4 xpt.4 yp.4 zero.4 MLINKS+=fd.4 stderr.4 fd.4 stdin.4 fd.4 stdout.4 MLINKS+=netintro.4 networking.4 MLINKS+=ipfirewall.4 ipacct.4 ipfirewall.4 ipfw.4 ipfirewall.4 ipaccounting.4 +MLINKS+=lp.4 plip.4 MLINKS+=fpa.4 fea.4 MLINKS+=yp.4 YP.4 yp.4 nis.4 yp.4 NIS.4 MLINKS+=smp.4 SMP.4 MLINKS+=scsi.4 cam.4 MLINKS+=vpo.4 imm.4 # XXX NOT IMPORTED: man4.hp300 man4.sparc man4.tahoe man4.vax SUBDIR= man4.i386 .if make(maninstall) maninstall:: _SUBDIR .endif .include Index: head/share/man/man4/lp.4 =================================================================== --- head/share/man/man4/lp.4 (nonexistent) +++ head/share/man/man4/lp.4 (revision 44000) @@ -0,0 +1,229 @@ +.\" -*- nroff -*- +.\" +.\" Copyright (c) 1996 A.R.Gordon, andrew.gordon@net-tel.co.uk +.\" 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 the University of +.\" California, Berkeley and its contributors. +.\" 4. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``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 OR CONTRIBUTORS 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. +.\" +.\" Id: man4.i386/lp.4,v 1.9 1999/02/14 12:06:16 nsouch Exp +.\" $Id$ +.\" +.Dd March 4, 1996 +.Os +.Dt LP 4 +.Sh NAME +.Nm lp +.Nd printer port Internet Protocol driver +.Sh SYNOPSIS +.Nm ifconfig lp0 +.Ar myaddress hisaddress +.Op Fl link0 +.Pp +.Cd "controller ppbus0" +.Cd "device plip0 at ppbus?" +.Cd "controller ppc0 at isa? port? net irq 7 +.Sh DESCRIPTION +The +.Nm +driver allows a PC parallel printer port to be used as a +point-to-point network interface between two similarly configured systems. +Data is transferred 4 bits at a time, using the printer status lines for +input: hence there is no requirement for special bidirectional hardware +and any standard AT-compatible printer port with working interrupts may be used. +.Pp +During the boot process, for each +.Nm plip +device which is probed and has an interrupt assigned, a corresponding +.Nm network +device is created. +.Pp +Configuring an +.Nm lp +device with +.Xr ifconfig 8 +causes the corresponding +.Nm parallel port bus +to be reserved for PLIP until the network interface is configured 'down'. +.Pp +The communication protocol is selected by the +.Cm link0 +flag: +.Bl -tag -width Fl +.It Fl link0 +(default) Use FreeBSD mode (LPIP). This is the simpler of the two modes +and therefore slightly more efficient. +.It Cm link0 +Use Crynwr/Linux compatible mode (CLPIP). This mode has a simulated ethernet +packet header, and is easier to interface to other types of equipment. +.El +.Pp +The interface MTU defaults to 1500, but may be set to any value. Both ends +of the link must be configured with the same MTU. +.Ss Cable Connections +The cable connecting the two parallel ports should be wired as follows: +.Bd -literal + Pin Pin Description + 2 15 Data0 -> ERROR* + 3 13 Data1 -> SLCT + 4 12 Data2 -> PE + 5 10 Data3 -> ACK* + 6 11 Data4 -> BUSY + 15 2 ERROR* -> Data0 + 13 3 SLCT -> Data1 + 12 4 PE -> Data2 + 10 5 ACK* -> Data3 + 11 6 BUSY -> Data4 + 18-25 18-25 Ground +.Ed +.Pp +Cables with this wiring are widely available as 'Laplink' cables, and +are often coloured yellow. +.Pp +The connections are symmetric, and provide 5 lines in each direction (four +data plus one handshake). The two modes use the same wiring, but make a +different choice of which line to use as handshake. +.Ss FreeBSD LPIP mode +The signal lines are used as follows: +.Bl -tag -width dataxxxx(Pinxx) +.It Em Data0 (Pin 2) +Data out, bit 0. +.It Em Data1 (Pin 3) +Data out, bit 1. +.It Em Data2 (Pin 4) +Data out, bit 2. +.It Em Data3 (Pin 5) +Handshake out. +.It Em Data4 (Pin 6) +Data out, bit 3. +.It Em ERROR* (pin 15) +Data in, bit 0. +.It Em SLCT (pin 13) +Data in, bit 1. +.It Em PE (pin 12) +Data in, bit 2. +.It Em BUSY (pin 11) +Data in, bit 3. +.It Em ACK* (pin 10) +Handshake in. +.El +.Pp +When idle, all data lines are at zero. Each byte is signalled in four steps: +sender writes the 4 most significant bits and raises the handshake line; +receiver reads the 4 bits and raises its handshake to acknowledge; +sender places the 4 least significant bits on the data lines and lowers +the handshake; receiver reads the data and lowers its handshake. +.Pp +The packet format has a two-byte header, comprising the fixed values 0x08, +0x00, immediately followed by the IP header and data. +.Pp +The start of a packet is indicated by simply signalling the first byte +of the header. The end of the packet is indicated by inverting +the data lines (ie. writing the ones-complement of the previous nibble +to be transmitted) without changing the state of the handshake. +.Pp +Note that the end-of-packet marker assumes that the handshake signal and +the data-out bits can be written in a single instruction - otherwise +certain byte values in the packet data would falsely be interpreted +as end-of-packet. This is not a problem for the PC printer port, +but requires care when implementing this protocol on other equipment. + +.Ss Crynwr/Linux CLPIP mode +The signal lines are used as follows: +.Bl -tag -width dataxxxx(Pinxx) +.It Em Data0 (Pin 2) +Data out, bit 0. +.It Em Data1 (Pin 3) +Data out, bit 1. +.It Em Data2 (Pin 4) +Data out, bit 2. +.It Em Data3 (Pin 5) +Data out, bit 3. +.It Em Data4 (Pin 6) +Handshake out. +.It Em ERROR* (pin 15) +Data in, bit 0. +.It Em SLCT (pin 13) +Data in, bit 1. +.It Em PE (pin 12) +Data in, bit 2. +.It Em ACK* (pin 10) +Data in, bit 3. +.It Em BUSY (pin 11) +Handshake in. +.El +.Pp +When idle, all data lines are at zero. Each byte is signalled in four steps: +sender writes the 4 least significant bits and raises the handshake line; +receiver reads the 4 bits and raises its handshake to acknowledge; +sender places the 4 most significant bits on the data lines and lowers +the handshake; receiver reads the data and lowers its handshake. +[Note that this is the opposite nibble order to LPIP mode]. +.Pp +Packet format is: +.Bd -literal +Length (least significant byte) +Length (most significant byte) +12 bytes of supposed MAC addresses (ignored by FreeBSD). +Fixed byte 0x08 +Fixed byte 0x00 + +Checksum byte. +.Ed +.Pp +The length includes the 14 header bytes, but not the length bytes themselves +nor the checksum byte. +.Pp +The checksum is a simple arithmetic sum of all the bytes (again, including +the header but not checksum or length bytes). FreeBSD calculates +outgoing checksums, but does not validate incoming ones. +.Pp +The start of packet has to be signalled specially, since the line chosen +for handshake-in cannot be used to generate an interrupt. The sender +writes the value 0x08 to the data lines, and waits for the receiver +to respond by writing 0x01 to its data lines. The sender then starts +signalling the first byte of the packet (the length byte). +.Pp +End of packet is deduced from the packet length and is not signalled +specially (although the data lines are restored to the zero, idle +state to avoid spuriously indicating the start of the next packet). +.Sh SEE ALSO +.Xr ppbus 4 , +.Xr ppc 4 , +.Xr ifconfig 8 . +.Sh BUGS +Busy-waiting loops are used while handshaking bytes, (and worse still when +waiting for the receiving system to respond to an interrupt for the start +of a packet). Hence a fast system talking to a slow one will consume +excessive amounts of CPU. This is unavoidable in the case of CLPIP mode +due to the choice of handshake lines; it could theoretically be improved +in the case of LPIP mode. +.Pp +Polling timeouts are controlled by counting loop iterations rather than +timers, and so are dependent on CPU speed. This is somewhat stabilised +by the need to perform (slow) ISA bus cycles to actually read the port. Property changes on: head/share/man/man4/lp.4 ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/share/man/man4/lpt.4 =================================================================== --- head/share/man/man4/lpt.4 (revision 43999) +++ head/share/man/man4/lpt.4 (revision 44000) @@ -1,103 +1,108 @@ .\" .\" Copyright (c) 1993 Christopher G. Demetriou .\" Copyright (c) 1994 Geoffrey M. Rehmet -.\" Copyright (c) 1998 Nicolas Souchu +.\" Copyright (c) 1999 Nicolas Souchu .\" 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. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``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 OR CONTRIBUTORS 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. .\" .\" .Dd February 14, 1999 .Dt LPT 4 .Os FreeBSD .Sh NAME .Nm lpt .Nd Generic printer device driver .Sh SYNOPSIS -.Cd "controller ppbus" -.Cd "device lpt at ppbus?" +.Cd "controller ppbus0" +.Cd "device lpt0 at ppbus?" .Pp .Cd "controller ppc0 at isa? port" \&"IO_LPT1\&" tty irq 7 .Cd "controller ppc1 at isa? port" \&"IO_LPT2\&" tty irq 7 .Cd "controller ppc2 at isa? port" \&"IO_LPT3\&" tty irq 7 .Pp For BIOS-probed ports: .Cd "controller ppc0 at isa? port? tty irq 7" .Pp For polled ports: .Cd "controller ppc0 at isa? port? tty" .Cd "controller ppc1 at isa? port" \&"IO_LPT2\&" tty .Pp For DMA capable parallel port: .Cd "controller ppc0 at isa? port? tty irq 7 drq 1" .Sh DESCRIPTION The current .Em lpt driver is the port of the original lpt driver to the .Xr ppbus 4 system. .Pp One purpose of this port was to allow parallel port sharing with other parallel devices. Secondly, inb()/outb() calls have been replaced by ppbus function calls. lpt is now arch-independent thanks to the ppbus interface. See .Xr ppbus 4 for more info about the ppbus system. .Pp The parallel port bus is allocated by lpt when the printer device is opened and released only when the transfer is completed: either when the device is closed or when the entire buffer is sent in interrupt driven mode. .Pp The driver can be configured 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 Depending on your hardware, extended capabilities may be configured with the .Xr lptcontrol 8 -command (use the -e option). With an ECP/ISA port, you can take advantage +command. With an ECP/ISA port, you can take advantage of FIFO and DMA. +.Pp +In order to retrieve printer info from /dev/lpt0, just apply the +.Nm cat +command to the device. If the printer supports IEEE1284 nibble mode and has +data to send to the host, you'll get it. .Sh SEE ALSO .Xr ppbus 4 , .Xr lptcontrol 8 .Sh HISTORY This driver replaces the functionality of the lpa driver, which is now defunct. .Sh FILES .Bl -tag -width Pa -compact .It Pa /dev/lpt0 first parallel port driver .El .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 Please, ensure the .Xr ppc 4 entry in you MACHINE file has the tty interrupt mask. .Pp This driver could still stand a rewrite. Index: head/share/man/man4/man4.i386/lp.4 =================================================================== --- head/share/man/man4/man4.i386/lp.4 (revision 43999) +++ head/share/man/man4/man4.i386/lp.4 (nonexistent) @@ -1,228 +0,0 @@ -.\" -*- nroff -*- -.\" -.\" Copyright (c) 1996 A.R.Gordon, andrew.gordon@net-tel.co.uk -.\" 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 the University of -.\" California, Berkeley and its contributors. -.\" 4. Neither the name of the University nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``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 OR CONTRIBUTORS 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. -.\" -.\" $Id: lp.4,v 1.8 1999/02/10 02:45:05 des Exp $ -.\" -.Dd March 4, 1996 -.Os -.Dt LP 4 i386 -.Sh NAME -.Nm lp -.Nd printer port Internet Protocol driver -.Sh SYNOPSIS -.Nm ifconfig lp0 -.Ar myaddress hisaddress -.Op Fl link0 -.Pp -.Cd "controller ppbus0" -.Cd "device plip0 at ppbus?" -.Cd "controller ppc0 at isa? port? net irq 7 -.Sh DESCRIPTION -The -.Nm -driver allows a PC parallel printer port to be used as a -point-to-point network interface between two similarly configured systems. -Data is transferred 4 bits at a time, using the printer status lines for -input: hence there is no requirement for special bidirectional hardware -and any standard AT-compatible printer port with working interrupts may be used. -.Pp -During the boot process, for each -.Nm plip -device which is probed and has an interrupt assigned, a corresponding -.Nm network -device is created. -.Pp -Configuring an -.Nm lp -device with -.Xr ifconfig 8 -causes the corresponding -.Nm parallel port bus -to be reserved for PLIP until the network interface is configured 'down'. -.Pp -The communication protocol is selected by the -.Cm link0 -flag: -.Bl -tag -width Fl -.It Fl link0 -(default) Use FreeBSD mode (LPIP). This is the simpler of the two modes -and therefore slightly more efficient. -.It Cm link0 -Use Crynwr/Linux compatible mode (CLPIP). This mode has a simulated ethernet -packet header, and is easier to interface to other types of equipment. -.El -.Pp -The interface MTU defaults to 1500, but may be set to any value. Both ends -of the link must be configured with the same MTU. -.Ss Cable Connections -The cable connecting the two parallel ports should be wired as follows: -.Bd -literal - Pin Pin Description - 2 15 Data0 -> ERROR* - 3 13 Data1 -> SLCT - 4 12 Data2 -> PE - 5 10 Data3 -> ACK* - 6 11 Data4 -> BUSY - 15 2 ERROR* -> Data0 - 13 3 SLCT -> Data1 - 12 4 PE -> Data2 - 10 5 ACK* -> Data3 - 11 6 BUSY -> Data4 - 18-25 18-25 Ground -.Ed -.Pp -Cables with this wiring are widely available as 'Laplink' cables, and -are often coloured yellow. -.Pp -The connections are symmetric, and provide 5 lines in each direction (four -data plus one handshake). The two modes use the same wiring, but make a -different choice of which line to use as handshake. -.Ss FreeBSD LPIP mode -The signal lines are used as follows: -.Bl -tag -width dataxxxx(Pinxx) -.It Em Data0 (Pin 2) -Data out, bit 0. -.It Em Data1 (Pin 3) -Data out, bit 1. -.It Em Data2 (Pin 4) -Data out, bit 2. -.It Em Data3 (Pin 5) -Handshake out. -.It Em Data4 (Pin 6) -Data out, bit 3. -.It Em ERROR* (pin 15) -Data in, bit 0. -.It Em SLCT (pin 13) -Data in, bit 1. -.It Em PE (pin 12) -Data in, bit 2. -.It Em BUSY (pin 11) -Data in, bit 3. -.It Em ACK* (pin 10) -Handshake in. -.El -.Pp -When idle, all data lines are at zero. Each byte is signalled in four steps: -sender writes the 4 most significant bits and raises the handshake line; -receiver reads the 4 bits and raises its handshake to acknowledge; -sender places the 4 least significant bits on the data lines and lowers -the handshake; receiver reads the data and lowers its handshake. -.Pp -The packet format has a two-byte header, comprising the fixed values 0x08, -0x00, immediately followed by the IP header and data. -.Pp -The start of a packet is indicated by simply signalling the first byte -of the header. The end of the packet is indicated by inverting -the data lines (ie. writing the ones-complement of the previous nibble -to be transmitted) without changing the state of the handshake. -.Pp -Note that the end-of-packet marker assumes that the handshake signal and -the data-out bits can be written in a single instruction - otherwise -certain byte values in the packet data would falsely be interpreted -as end-of-packet. This is not a problem for the PC printer port, -but requires care when implementing this protocol on other equipment. - -.Ss Crynwr/Linux CLPIP mode -The signal lines are used as follows: -.Bl -tag -width dataxxxx(Pinxx) -.It Em Data0 (Pin 2) -Data out, bit 0. -.It Em Data1 (Pin 3) -Data out, bit 1. -.It Em Data2 (Pin 4) -Data out, bit 2. -.It Em Data3 (Pin 5) -Data out, bit 3. -.It Em Data4 (Pin 6) -Handshake out. -.It Em ERROR* (pin 15) -Data in, bit 0. -.It Em SLCT (pin 13) -Data in, bit 1. -.It Em PE (pin 12) -Data in, bit 2. -.It Em ACK* (pin 10) -Data in, bit 3. -.It Em BUSY (pin 11) -Handshake in. -.El -.Pp -When idle, all data lines are at zero. Each byte is signalled in four steps: -sender writes the 4 least significant bits and raises the handshake line; -receiver reads the 4 bits and raises its handshake to acknowledge; -sender places the 4 most significant bits on the data lines and lowers -the handshake; receiver reads the data and lowers its handshake. -[Note that this is the opposite nibble order to LPIP mode]. -.Pp -Packet format is: -.Bd -literal -Length (least significant byte) -Length (most significant byte) -12 bytes of supposed MAC addresses (ignored by FreeBSD). -Fixed byte 0x08 -Fixed byte 0x00 - -Checksum byte. -.Ed -.Pp -The length includes the 14 header bytes, but not the length bytes themselves -nor the checksum byte. -.Pp -The checksum is a simple arithmetic sum of all the bytes (again, including -the header but not checksum or length bytes). FreeBSD calculates -outgoing checksums, but does not validate incoming ones. -.Pp -The start of packet has to be signalled specially, since the line chosen -for handshake-in cannot be used to generate an interrupt. The sender -writes the value 0x08 to the data lines, and waits for the receiver -to respond by writing 0x01 to its data lines. The sender then starts -signalling the first byte of the packet (the length byte). -.Pp -End of packet is deduced from the packet length and is not signalled -specially (although the data lines are restored to the zero, idle -state to avoid spuriously indicating the start of the next packet). -.Sh SEE ALSO -.Xr ppbus 4 , -.Xr ppc 4 , -.Xr ifconfig 8 . -.Sh BUGS -Busy-waiting loops are used while handshaking bytes, (and worse still when -waiting for the receiving system to respond to an interrupt for the start -of a packet). Hence a fast system talking to a slow one will consume -excessive amounts of CPU. This is unavoidable in the case of CLPIP mode -due to the choice of handshake lines; it could theoretically be improved -in the case of LPIP mode. -.Pp -Polling timeouts are controlled by counting loop iterations rather than -timers, and so are dependent on CPU speed. This is somewhat stabilised -by the need to perform (slow) ISA bus cycles to actually read the port. Property changes on: head/share/man/man4/man4.i386/lp.4 ___________________________________________________________________ Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Index: head/share/man/man4/man4.i386/Makefile =================================================================== --- head/share/man/man4/man4.i386/Makefile (revision 43999) +++ head/share/man/man4/man4.i386/Makefile (revision 44000) @@ -1,96 +1,95 @@ -# $Id: Makefile,v 1.97 1999/02/10 02:45:05 des Exp $ +# $Id: Makefile,v 1.98 1999/02/13 17:48:41 nsouch Exp $ MAN4= adv.4 adw.4 aha.4 ahb.4 ahc.4 aic.4 alpm.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 \ 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 matcd.4 mcd.4 \ + io.4 joy.4 keyboard.4 labpc.4 le.4 lnc.4 matcd.4 mcd.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 \ rdp.4 rl.4 sb.4 scd.4 screen.4 si.4 sio.4 \ spkr.4 splash.4 sr.4 sysmouse.4 tl.4 tw.4 tx.4 vga.4 vr.4 vx.4 \ wb.4 wd.4 wfd.4 wl.4 wt.4 xl.4 ze.4 zp.4 MLINKS= adv.4 ../adv.4 MLINKS+= adw.4 ../adw.4 MLINKS+= aha.4 ../aha.4 MLINKS+= ahb.4 ../ahb.4 MLINKS+= ahc.4 ../ahc.4 MLINKS+= aic.4 ../aic.4 MLINKS+= apm.4 ../apm.4 MLINKS+= ar.4 ../ar.4 MLINKS+= asc.4 ../asc.4 MLINKS+= atkbd.4 ../atkbd.4 MLINKS+= atkbdc.4 ../atkbdc.4 MLINKS+= ax.4 ../ax.4 MLINKS+= bktr.4 ../bktr.4 MLINKS+= bt.4 ../bt.4 MLINKS+= cs.4 ../cs.4 MLINKS+= cx.4 ../cx.4 MLINKS+= cy.4 ../cy.4 MLINKS+= de.4 ../de.4 MLINKS+= dgb.4 ../dgb.4 MLINKS+= dpt.4 ../dpt.4 MLINKS+= ed.4 ../ed.4 MLINKS+= el.4 ../el.4 MLINKS+= en.4 ../en.4 MLINKS+= ep.4 ../ep.4 MLINKS+= ex.4 ../ex.4 MLINKS+= fdc.4 ../fdc.4 MLINKS+= fe.4 ../fe.4 MLINKS+= fxp.4 ../fxp.4 MLINKS+= gsc.4 ../gsc.4 MLINKS+= ie.4 ../ie.4 MLINKS+= io.4 ../io.4 MLINKS+= joy.4 ../joy.4 MLINKS+= keyboard.4 ../keyboard.4 MLINKS+= labpc.4 ../labpc.4 MLINKS+= le.4 ../le.4 MLINKS+= lnc.4 ../lnc.4 -MLINKS+= lp.4 ../lp.4 lp.4 plip.4 lp.4 ../plip.4 MLINKS+= matcd.4 ../matcd.4 MLINKS+= mcd.4 ../mcd.4 MLINKS+= mem.4 kmem.4 mem.4 ../mem.4 mem.4 ../kmem.4 MLINKS+= meteor.4 ../meteor.4 MLINKS+= mouse.4 ../mouse.4 MLINKS+= mse.4 ../mse.4 MLINKS+= mtio.4 ../mtio.4 MLINKS+= mx.4 ../mx.4 MLINKS+= ncr.4 ../ncr.4 MLINKS+= npx.4 ../npx.4 MLINKS+= pcf.4 ../pcf.4 MLINKS+= pcm.4 ../pcm.4 MLINKS+= pcvt.4 vt.4 pcvt.4 ../pcvt.4 pcvt.4 ../vt.4 MLINKS+= perfmon.4 ../perfmon.4 MLINKS+= pn.4 ../pn.4 MLINKS+= pnp.4 ../pnp.4 MLINKS+= ppc.4 ../ppc.4 MLINKS+= psm.4 ../psm.4 MLINKS+= rdp.4 ../rdp.4 MLINKS+= rl.4 ../rl.4 MLINKS+= sb.4 ../sb.4 MLINKS+= scd.4 ../scd.4 MLINKS+= screen.4 ../screen.4 MLINKS+= si.4 ../si.4 MLINKS+= sio.4 ../sio.4 MLINKS+= spkr.4 ../spkr.4 spkr.4 speaker.4 spkr.4 ../speaker.4 MLINKS+= splash.4 ../splash.4 splash.4 screensaver.4 splash.4 ../screensaver.4 MLINKS+= sr.4 ../sr.4 MLINKS+= sysmouse.4 ../sysmouse.4 MLINKS+= tl.4 ../tl.4 MLINKS+= tw.4 ../tw.4 MLINKS+= tx.4 ../tx.4 MLINKS+= vga.4 ../vga.4 MLINKS+= vr.4 ../vr.4 MLINKS+= vx.4 ../vx.4 MLINKS+= wb.4 ../wb.4 MLINKS+= wd.4 ../wd.4 MLINKS+= wfd.4 ../wfd.4 MLINKS+= wl.4 ../wl.4 MLINKS+= wt.4 ../wt.4 MLINKS+= xl.4 ../xl.4 MLINKS+= ze.4 ../ze.4 MLINKS+= zp.4 ../zp.4 MANSUBDIR=/i386 .include