Deleted Added
full compact
ppbus.4 (57695) ppbus.4 (70466)
1.\" Copyright (c) 1998, 1999 Nicolas Souchu
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 1998, 1999 Nicolas Souchu
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man4/ppbus.4 57695 2000-03-02 14:54:02Z sheldonh $
25.\" $FreeBSD: head/share/man/man4/ppbus.4 70466 2000-12-29 09:18:45Z ru $
26.\"
27.Dd March 1, 1998
28.Dt PPBUS 4
29.Os FreeBSD
30.Sh NAME
31.Nm ppbus
32.Nd
33Parallel port bus system

--- 11 unchanged lines hidden (view full) ---

45The
46.Em ppbus
47system provides a uniform, modular and architecture-independent
48system for the implementation of drivers to control various parallel devices,
49and to utilize different parallel port chipsets.
50.Sh DEVICE DRIVERS
51In order to write new drivers or port existing drivers, the ppbus system
52provides the following facilities:
26.\"
27.Dd March 1, 1998
28.Dt PPBUS 4
29.Os FreeBSD
30.Sh NAME
31.Nm ppbus
32.Nd
33Parallel port bus system

--- 11 unchanged lines hidden (view full) ---

45The
46.Em ppbus
47system provides a uniform, modular and architecture-independent
48system for the implementation of drivers to control various parallel devices,
49and to utilize different parallel port chipsets.
50.Sh DEVICE DRIVERS
51In order to write new drivers or port existing drivers, the ppbus system
52provides the following facilities:
53.Bl -bullet -item -offset indent
53.Bl -bullet -offset indent
54.It
55architecture-independent macros or functions to access parallel ports
56.It
57mechanism to allow various devices to share the same parallel port
58.It
59a user interface named
60.Xr ppi 4
61that allows parallel port access from outside the kernel without conflicting

--- 39 unchanged lines hidden (view full) ---

101parallel port model.
102Consequently, for the i386 implementation of ppbus,
103most of the services provided by ppc are macros for inb()
104and outb() calls.
105But, for an other architecture, accesses to one of our logical
106registers (data, status, control...) may require more than one I/O access.
107.Ss Description
108The parallel port may operate in the following modes:
54.It
55architecture-independent macros or functions to access parallel ports
56.It
57mechanism to allow various devices to share the same parallel port
58.It
59a user interface named
60.Xr ppi 4
61that allows parallel port access from outside the kernel without conflicting

--- 39 unchanged lines hidden (view full) ---

101parallel port model.
102Consequently, for the i386 implementation of ppbus,
103most of the services provided by ppc are macros for inb()
104and outb() calls.
105But, for an other architecture, accesses to one of our logical
106registers (data, status, control...) may require more than one I/O access.
107.Ss Description
108The parallel port may operate in the following modes:
109.Bl -bullet -item -offset indent
109.Bl -bullet -offset indent
110.It
111compatible mode, also called Centronics mode
112.It
113bidirectional 8/4-bits mode, also called NIBBLE mode
114.It
115byte mode, also called PS/2 mode
116.It
117Extended Capability Port mode, ECP

--- 248 unchanged lines hidden ---
110.It
111compatible mode, also called Centronics mode
112.It
113bidirectional 8/4-bits mode, also called NIBBLE mode
114.It
115byte mode, also called PS/2 mode
116.It
117Extended Capability Port mode, ECP

--- 248 unchanged lines hidden ---