1*86d7f5d3SJohn Marino.\" Copyright (c) 1995 2*86d7f5d3SJohn Marino.\" Peter Dufault, All rights reserved. 3*86d7f5d3SJohn Marino.\" 4*86d7f5d3SJohn Marino.\" Redistribution and use in source and binary forms, with or without 5*86d7f5d3SJohn Marino.\" modification, are permitted provided that the following conditions 6*86d7f5d3SJohn Marino.\" are met: 7*86d7f5d3SJohn Marino.\" 1. Redistributions of source code must retain the above copyright 8*86d7f5d3SJohn Marino.\" notice, this list of conditions and the following disclaimer. 9*86d7f5d3SJohn Marino.\" 10*86d7f5d3SJohn Marino.\" 2. Redistributions in binary form must reproduce the above copyright 11*86d7f5d3SJohn Marino.\" notice, this list of conditions and the following disclaimer in the 12*86d7f5d3SJohn Marino.\" documentation and/or other materials provided with the distribution. 13*86d7f5d3SJohn Marino.\" 14*86d7f5d3SJohn Marino.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15*86d7f5d3SJohn Marino.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16*86d7f5d3SJohn Marino.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17*86d7f5d3SJohn Marino.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18*86d7f5d3SJohn Marino.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19*86d7f5d3SJohn Marino.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20*86d7f5d3SJohn Marino.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21*86d7f5d3SJohn Marino.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22*86d7f5d3SJohn Marino.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23*86d7f5d3SJohn Marino.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24*86d7f5d3SJohn Marino.\" SUCH DAMAGE. 25*86d7f5d3SJohn Marino.\" 26*86d7f5d3SJohn Marino.\" $FreeBSD: src/share/man/man4/pt.4,v 1.8.2.3 2001/08/17 13:08:39 ru Exp $ 27*86d7f5d3SJohn Marino.\" $DragonFly: src/share/man/man4/pt.4,v 1.5 2008/05/01 23:36:43 swildner Exp $ 28*86d7f5d3SJohn Marino.\" 29*86d7f5d3SJohn Marino.Dd March 2, 1995 30*86d7f5d3SJohn Marino.Dt PT 4 31*86d7f5d3SJohn Marino.Os 32*86d7f5d3SJohn Marino.Sh NAME 33*86d7f5d3SJohn Marino.Nm pt 34*86d7f5d3SJohn Marino.Nd SCSI processor type driver 35*86d7f5d3SJohn Marino.Sh SYNOPSIS 36*86d7f5d3SJohn Marino.Cd device pt 37*86d7f5d3SJohn Marino.Cd device pt1 at scbus0 target 3 unit 0 38*86d7f5d3SJohn Marino.Sh DESCRIPTION 39*86d7f5d3SJohn MarinoThe 40*86d7f5d3SJohn Marino.Nm 41*86d7f5d3SJohn Marinodriver provides support for a 42*86d7f5d3SJohn Marino.Tn SCSI 43*86d7f5d3SJohn Marinoprocessor type device. These are usually scanners and other 44*86d7f5d3SJohn Marinodevices using the 45*86d7f5d3SJohn Marino.Tn SCSI 46*86d7f5d3SJohn Marinolink as a communication interface with device 47*86d7f5d3SJohn Marinospecific commands embedded in the data stream. 48*86d7f5d3SJohn Marino.Pp 49*86d7f5d3SJohn MarinoA 50*86d7f5d3SJohn Marino.Tn SCSI 51*86d7f5d3SJohn Marinoadapter must be separately configured into the system 52*86d7f5d3SJohn Marinobefore this driver can be used. 53*86d7f5d3SJohn Marino.Pp 54*86d7f5d3SJohn MarinoThis device supports 55*86d7f5d3SJohn Marino.Xr read 2 56*86d7f5d3SJohn Marinoand 57*86d7f5d3SJohn Marino.Xr write 2 , 58*86d7f5d3SJohn Marinoand the 59*86d7f5d3SJohn Marino.Xr ioctl 2 60*86d7f5d3SJohn Marinocalls described below. 61*86d7f5d3SJohn Marino.Sh IOCTLS 62*86d7f5d3SJohn MarinoThe following 63*86d7f5d3SJohn Marino.Xr ioctl 2 64*86d7f5d3SJohn Marinocalls are supported by the 65*86d7f5d3SJohn Marino.Nm 66*86d7f5d3SJohn Marinodriver. They are defined in the header file 67*86d7f5d3SJohn Marino.In sys/ptio.h . 68*86d7f5d3SJohn Marino.Bl -tag -width 012345678901234 69*86d7f5d3SJohn Marino.It Dv PTIOCGETTIMEOUT 70*86d7f5d3SJohn MarinoThis ioctl allows userland applications to fetch the current 71*86d7f5d3SJohn Marino.Nm 72*86d7f5d3SJohn Marinodriver read and write timeout. The value returned is in seconds. 73*86d7f5d3SJohn Marino.It Dv PTIOCSETTIMEOUT 74*86d7f5d3SJohn MarinoThis ioctl allows userland applications to set the current 75*86d7f5d3SJohn Marino.Nm 76*86d7f5d3SJohn Marinodriver read and write timeouts. The value should be in seconds. 77*86d7f5d3SJohn Marino.El 78*86d7f5d3SJohn Marino.Sh FILES 79*86d7f5d3SJohn Marino.Bl -tag -width /dev/ptQQQ -compact 80*86d7f5d3SJohn Marino.It Pa /dev/pt Ns Ar N 81*86d7f5d3SJohn Marinothe 82*86d7f5d3SJohn Marino.Ar N Ns th processor device. 83*86d7f5d3SJohn Marino.El 84*86d7f5d3SJohn Marino.Sh SEE ALSO 85*86d7f5d3SJohn Marino.Xr scsi 4 86*86d7f5d3SJohn Marino.Sh HISTORY 87*86d7f5d3SJohn MarinoThe 88*86d7f5d3SJohn Marino.Nm 89*86d7f5d3SJohn Marinodriver appeared in 90*86d7f5d3SJohn Marino.Fx 2.1 . 91