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.Dd March 2, 1995 27.Dt PT 4 28.Os FreeBSD 29.Sh NAME 30.Nm pt 31.Nd SCSI processor type driver 32.Sh SYNOPSIS 33.Cd device pt0 at scbus? 34.Sh DESCRIPTION 35The 36.Nm 37driver provides support for a 38.Tn SCSI 39processor type device. These are usually scanners and other 40devices using the 41.Tn SCSI 42link as a communication interface with device 43specific commands embedded in the data stream. 44.Pp 45A 46.Tn SCSI 47adapter must be separately configured into the system 48before this driver can be used. 49.Pp 50This device only supports 51.Xr read 2 52and 53.Xr write 2 , 54and the generic 55.Tn SCSI 56.Xr ioctl 2 57calls. 58The 59.Sq Li at scbus? 60is required in the config file for the configuration 61system to know this is a SCSI device and generate the appropriate 62tables. 63.Pp 64The 65.Sq Li 0 66in 67.Sq Li pt0 68in the configuration is required. 69This is a deficiency in 70.Xr config 8 . 71.Sh IOCTLS 72The 73.Nm 74driver has no 75.Fn ioctl 76commands of its own but rather acts as a medium for the 77generic 78.Xr scsi 4 79commands. These are described in 80.Aq Pa sys/scsiio.h . 81All 82.Xr scsi 4 83debug ioctls work on 84.Nm 85devices. 86.Sh FILES 87.Bl -tag -width /dev/ptQQQ -compact 88.It Pa /dev/pt Ns Ar N 89the 90.No Ar N Ns th processor device. 91.El 92.Sh SEE ALSO 93.Xr scsi 4 94.Sh HISTORY 95The 96.Nm 97driver appeared in 98.Fx 2.1 . 99