Deleted Added
full compact
ppi.4 (84306) ppi.4 (117011)
1.\" Copyright (c) 1997
2.\" Michael Smith
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 as

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

18.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24.\" POSSIBILITY OF SUCH DAMAGE.
25.\"
1.\" Copyright (c) 1997
2.\" Michael Smith
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 as

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

18.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24.\" POSSIBILITY OF SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/share/man/man4/ppi.4 84306 2001-10-01 16:09:29Z ru $
26.\" $FreeBSD: head/share/man/man4/ppi.4 117011 2003-06-28 23:53:39Z ru $
27.\"
28.Dd January 2, 1998
29.Dt PPI 4
30.Os
31.Sh NAME
32.Nm ppi
33.Nd "user-space interface to ppbus parallel 'geek' port"
34.Sh SYNOPSIS

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

46.Sh PROGRAMMING INTERFACE
47.In dev/ppbus/ppi.h
48.In dev/ppbus/ppbconf.h
49.Pp
50All I/O on the
51.Nm
52interface is performed using
53.Fn ioctl
27.\"
28.Dd January 2, 1998
29.Dt PPI 4
30.Os
31.Sh NAME
32.Nm ppi
33.Nd "user-space interface to ppbus parallel 'geek' port"
34.Sh SYNOPSIS

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

46.Sh PROGRAMMING INTERFACE
47.In dev/ppbus/ppi.h
48.In dev/ppbus/ppbconf.h
49.Pp
50All I/O on the
51.Nm
52interface is performed using
53.Fn ioctl
54calls. Each command takes a single
54calls.
55Each command takes a single
55.Ft u_int8_t
56.Ft u_int8_t
56argument, transferring one byte of data. The following commands are
57available:
57argument, transferring one byte of data.
58The following commands are available:
58.Bl -tag -width indent
59.It Dv PPIGDATA , PPISDATA
60Get and set the contents of the data register.
61.It Dv PPIGSTATUS , PPISSTATUS
62Get and set the contents of the status register.
63.It Dv PPIGCTRL , PPISCTRL
64Get and set the contents of the control register.
59.Bl -tag -width indent
60.It Dv PPIGDATA , PPISDATA
61Get and set the contents of the data register.
62.It Dv PPIGSTATUS , PPISSTATUS
63Get and set the contents of the status register.
64.It Dv PPIGCTRL , PPISCTRL
65Get and set the contents of the control register.
65The following defines correspond to bits in this register. Setting
66a bit in the control register drives the corresponding output low.
66The following defines correspond to bits in this register.
67Setting a bit in the control register drives the corresponding output low.
67.Bl -tag -width indent -compact
68.It Dv STROBE
69.It Dv AUTOFEED
70.It Dv nINIT
71.It Dv SELECTIN
72.It Dv PCD
73.El
74.It Dv PPIGEPP , PPISEPP

--- 32 unchanged lines hidden ---
68.Bl -tag -width indent -compact
69.It Dv STROBE
70.It Dv AUTOFEED
71.It Dv nINIT
72.It Dv SELECTIN
73.It Dv PCD
74.El
75.It Dv PPIGEPP , PPISEPP

--- 32 unchanged lines hidden ---