xref: /freebsd/share/man/man4/pt.4 (revision 952d112864d8008aa87278a30a539d888a8493cd)
1.\" Copyright (c) 1995
2.\"	Peter Dufault,  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.
9.\"
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\"
14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\"	$Id$
27.\"
28.Dd March 2, 1995
29.Dt PT 4
30.Os FreeBSD
31.Sh NAME
32.Nm pt
33.Nd SCSI processor type driver
34.Sh SYNOPSIS
35.Cd device pt0 at scbus?
36.Sh DESCRIPTION
37The
38.Nm
39driver provides support for a
40.Tn SCSI
41processor type device.  These are usually scanners and other
42devices using the
43.Tn SCSI
44link as a communication interface with device
45specific commands embedded in the data stream.
46.Pp
47A
48.Tn SCSI
49adapter must be separately configured into the system
50before this driver can be used.
51.Pp
52This device only supports
53.Xr read 2
54and
55.Xr write 2 ,
56and the generic
57.Tn SCSI
58.Xr ioctl 2
59calls.
60The
61.Sq Li at scbus?
62is required in the config file for the configuration
63system to know this is a SCSI device and generate the appropriate
64tables.
65.Pp
66The
67.Sq Li 0
68in
69.Sq Li pt0
70in the configuration is required.
71This is a deficiency in
72.Xr config 8 .
73.Sh IOCTLS
74The
75.Nm
76driver has no
77.Fn ioctl
78commands of its own but rather acts as a medium for the
79generic
80.Xr scsi 4
81commands. These are described in
82.Aq Pa sys/scsiio.h .
83All
84.Xr scsi 4
85debug ioctls work on
86.Nm
87devices.
88.Sh FILES
89.Bl -tag -width /dev/ptQQQ -compact
90.It Pa /dev/pt Ns Ar N
91the
92.No Ar N Ns th processor device.
93.El
94.Sh SEE ALSO
95.Xr scsi 4
96.Sh HISTORY
97The
98.Nm
99driver appeared in
100.Fx 2.1 .
101