186d7f5d3SJohn Marino.\" Copyright (c) 1995 286d7f5d3SJohn Marino.\" Peter Dufault, All rights reserved. 386d7f5d3SJohn Marino.\" 486d7f5d3SJohn Marino.\" Redistribution and use in source and binary forms, with or without 586d7f5d3SJohn Marino.\" modification, are permitted provided that the following conditions 686d7f5d3SJohn Marino.\" are met: 786d7f5d3SJohn Marino.\" 1. Redistributions of source code must retain the above copyright 886d7f5d3SJohn Marino.\" notice, this list of conditions and the following disclaimer. 986d7f5d3SJohn Marino.\" 1086d7f5d3SJohn Marino.\" 2. Redistributions in binary form must reproduce the above copyright 1186d7f5d3SJohn Marino.\" notice, this list of conditions and the following disclaimer in the 1286d7f5d3SJohn Marino.\" documentation and/or other materials provided with the distribution. 1386d7f5d3SJohn Marino.\" 1486d7f5d3SJohn Marino.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1586d7f5d3SJohn Marino.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1686d7f5d3SJohn Marino.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1786d7f5d3SJohn Marino.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1886d7f5d3SJohn Marino.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1986d7f5d3SJohn Marino.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2086d7f5d3SJohn Marino.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2186d7f5d3SJohn Marino.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2286d7f5d3SJohn Marino.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2386d7f5d3SJohn Marino.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2486d7f5d3SJohn Marino.\" SUCH DAMAGE. 2586d7f5d3SJohn Marino.\" 2686d7f5d3SJohn Marino.\" $FreeBSD: src/share/man/man4/pt.4,v 1.8.2.3 2001/08/17 13:08:39 ru Exp $ 2786d7f5d3SJohn Marino.\" $DragonFly: src/share/man/man4/pt.4,v 1.5 2008/05/01 23:36:43 swildner Exp $ 2886d7f5d3SJohn Marino.\" 2986d7f5d3SJohn Marino.Dd March 2, 1995 3086d7f5d3SJohn Marino.Dt PT 4 3186d7f5d3SJohn Marino.Os 3286d7f5d3SJohn Marino.Sh NAME 3386d7f5d3SJohn Marino.Nm pt 3486d7f5d3SJohn Marino.Nd SCSI processor type driver 3586d7f5d3SJohn Marino.Sh SYNOPSIS 3686d7f5d3SJohn Marino.Cd device pt 3786d7f5d3SJohn Marino.Cd device pt1 at scbus0 target 3 unit 0 3886d7f5d3SJohn Marino.Sh DESCRIPTION 3986d7f5d3SJohn MarinoThe 4086d7f5d3SJohn Marino.Nm 4186d7f5d3SJohn Marinodriver provides support for a 4286d7f5d3SJohn Marino.Tn SCSI 4386d7f5d3SJohn Marinoprocessor type device. These are usually scanners and other 4486d7f5d3SJohn Marinodevices using the 4586d7f5d3SJohn Marino.Tn SCSI 4686d7f5d3SJohn Marinolink as a communication interface with device 4786d7f5d3SJohn Marinospecific commands embedded in the data stream. 4886d7f5d3SJohn Marino.Pp 4986d7f5d3SJohn MarinoA 5086d7f5d3SJohn Marino.Tn SCSI 5186d7f5d3SJohn Marinoadapter must be separately configured into the system 5286d7f5d3SJohn Marinobefore this driver can be used. 5386d7f5d3SJohn Marino.Pp 5486d7f5d3SJohn MarinoThis device supports 5586d7f5d3SJohn Marino.Xr read 2 5686d7f5d3SJohn Marinoand 5786d7f5d3SJohn Marino.Xr write 2 , 5886d7f5d3SJohn Marinoand the 5986d7f5d3SJohn Marino.Xr ioctl 2 6086d7f5d3SJohn Marinocalls described below. 6186d7f5d3SJohn Marino.Sh IOCTLS 6286d7f5d3SJohn MarinoThe following 6386d7f5d3SJohn Marino.Xr ioctl 2 6486d7f5d3SJohn Marinocalls are supported by the 6586d7f5d3SJohn Marino.Nm 6686d7f5d3SJohn Marinodriver. They are defined in the header file 6786d7f5d3SJohn Marino.In sys/ptio.h . 6886d7f5d3SJohn Marino.Bl -tag -width 012345678901234 6986d7f5d3SJohn Marino.It Dv PTIOCGETTIMEOUT 7086d7f5d3SJohn MarinoThis ioctl allows userland applications to fetch the current 7186d7f5d3SJohn Marino.Nm 7286d7f5d3SJohn Marinodriver read and write timeout. The value returned is in seconds. 7386d7f5d3SJohn Marino.It Dv PTIOCSETTIMEOUT 7486d7f5d3SJohn MarinoThis ioctl allows userland applications to set the current 7586d7f5d3SJohn Marino.Nm 7686d7f5d3SJohn Marinodriver read and write timeouts. The value should be in seconds. 7786d7f5d3SJohn Marino.El 7886d7f5d3SJohn Marino.Sh FILES 7986d7f5d3SJohn Marino.Bl -tag -width /dev/ptQQQ -compact 8086d7f5d3SJohn Marino.It Pa /dev/pt Ns Ar N 8186d7f5d3SJohn Marinothe 8286d7f5d3SJohn Marino.Ar N Ns th processor device. 8386d7f5d3SJohn Marino.El 8486d7f5d3SJohn Marino.Sh SEE ALSO 8586d7f5d3SJohn Marino.Xr scsi 4 8686d7f5d3SJohn Marino.Sh HISTORY 8786d7f5d3SJohn MarinoThe 8886d7f5d3SJohn Marino.Nm 8986d7f5d3SJohn Marinodriver appeared in 9086d7f5d3SJohn Marino.Fx 2.1 . 91