Deleted Added
full compact
pt.4 (6894) pt.4 (13479)
1.Dd March 2, 1995
2.Dt PT 4
3.Os FreeBSD
4.Sh NAME
5.Nm pt
1.Dd March 2, 1995
2.Dt PT 4
3.Os FreeBSD
4.Sh NAME
5.Nm pt
6.Nd scsi processor type driver
6.Nd SCSI processor type driver
7.Sh SYNOPSIS
7.Sh SYNOPSIS
8.Nm device pt0 at scbus?
8.Cd device pt0 at scbus?
9.Sh DESCRIPTION
10The
9.Sh DESCRIPTION
10The
11.Xr pt
11.Nm
12driver provides support for a
12driver provides support for a
13SCSI processor type device. These are usually scanners and other
14devices using the SCSI link as a communication interface with device
13.Tn SCSI
14processor type device. These are usually scanners and other
15devices using the
16.Tn SCSI
17link as a communication interface with device
15specific commands embedded in the data stream.
16.Pp
18specific commands embedded in the data stream.
19.Pp
17A scsi adapter must be separately configured into the system
20A
21.Tn SCSI
22adapter must be separately configured into the system
18before this driver can be used.
19.Pp
20This device only supports
21.Xr read 2
22and
23.Xr write 2 ,
23before this driver can be used.
24.Pp
25This device only supports
26.Xr read 2
27and
28.Xr write 2 ,
24and the general scsi ioctl calls.
25.Sh IOCTLS
26The
27.Nm
28driver has no ioctls of it's own but rather acts as a medium for the
29generic
30.Xr scsi 4
31ioctls. These are described in
32.Em sys/scsiio.h.
33.Sh FILES
34.Bl -tag -width /dev/pt -compact
35.It Pa /dev/pt[0-255]
36pt{x} is the 'xth' processor device.
37.El
38.Sh DIAGNOSTICS
29and the generic
30.Tn SCSI
31.Xr ioctl 2
32calls.
39The
33The
40.Em "at scbus?"
34.Sq Li at scbus?
41is required in the config file for the configuration
42system to know this is a SCSI device and generate the appropriate
43tables.
44.Pp
35is required in the config file for the configuration
36system to know this is a SCSI device and generate the appropriate
37tables.
38.Pp
45The 0 in
46.Em pt0
39The
40.Sq Li 0
41in
42.Sq Li pt0
47in the configuration is required.
43in the configuration is required.
48This is a bug in
44This is a deficiency in
49.Xr config 8 .
45.Xr config 8 .
50.Pp
46.Sh IOCTLS
47The
48.Nm
49driver has no
50.Fn ioctl
51commands of its own but rather acts as a medium for the
52generic
53.Xr scsi 4
54commands. These are described in
55.Aq Pa sys/scsiio.h .
51All
52.Xr scsi 4
53debug ioctls work on
54.Nm
55devices.
56All
57.Xr scsi 4
58debug ioctls work on
59.Nm
60devices.
61.Sh FILES
62.Bl -tag -width /dev/ptQQQ -compact
63.It Pa /dev/pt Ns Ar N
64the
65.No Ar N Ns th processor device.
66.El
56.Sh SEE ALSO
67.Sh SEE ALSO
57.Xr sd 4
58.Xr st 4
59.Xr cd 4
60.Xr ch 4
61.Xr su 4
62.Xr scsi 4
63.Sh HISTORY
64The
65.Nm
68.Xr scsi 4
69.Sh HISTORY
70The
71.Nm
66driver appeared in FreeBSD 2.1
72driver appeared in
73.Tn FreeBSD
742.1.