scsi.4 (246e7a2b6494cd991b08ac669ed761ecea0cc98c) scsi.4 (db4fcadf52c891afffded7fc72b9d9298bc39e77)
1.\" Copyright (c) 1996
2.\" Julian Elischer <julian@FreeBSD.org>. 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.

--- 10 unchanged lines hidden (view full) ---

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.\" $FreeBSD$
1.\" Copyright (c) 1996
2.\" Julian Elischer <julian@FreeBSD.org>. 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.

--- 10 unchanged lines hidden (view full) ---

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.\" $FreeBSD$
27.Dd June 7, 2012
27.Dd January 15, 2017
28.Dt CAM 4
29.Os
30.Sh NAME
31.Nm CAM
32.Nd Common Access Method SCSI/ATA subsystem
33.Sh SYNOPSIS
34.Cd "device scbus"
35.Cd "device ada"

--- 21 unchanged lines hidden (view full) ---

57.Tn SCSI
58and
59.Tn ATA
60devices, and to utilize different
61.Tn SCSI
62and
63.Tn ATA
64host adapters through host adapter drivers.
28.Dt CAM 4
29.Os
30.Sh NAME
31.Nm CAM
32.Nd Common Access Method SCSI/ATA subsystem
33.Sh SYNOPSIS
34.Cd "device scbus"
35.Cd "device ada"

--- 21 unchanged lines hidden (view full) ---

57.Tn SCSI
58and
59.Tn ATA
60devices, and to utilize different
61.Tn SCSI
62and
63.Tn ATA
64host adapters through host adapter drivers.
65When the system probes busses, it attaches any devices it finds to the
65When the system probes buses, it attaches any devices it finds to the
66appropriate drivers.
67The
68.Xr pass 4
69driver, if it is configured in the kernel, will attach to all devices.
70.Sh KERNEL CONFIGURATION
71There are a number of generic kernel configuration options for the
72.Nm
73subsystem:

--- 71 unchanged lines hidden (view full) ---

145One special case is that if the
146.Dv SCSI_DELAY
147is set to 0, that will be taken to mean the "lowest possible value."
148In that case, the
149.Dv SCSI_DELAY
150will be reset to 100ms.
151.El
152.Pp
66appropriate drivers.
67The
68.Xr pass 4
69driver, if it is configured in the kernel, will attach to all devices.
70.Sh KERNEL CONFIGURATION
71There are a number of generic kernel configuration options for the
72.Nm
73subsystem:

--- 71 unchanged lines hidden (view full) ---

145One special case is that if the
146.Dv SCSI_DELAY
147is set to 0, that will be taken to mean the "lowest possible value."
148In that case, the
149.Dv SCSI_DELAY
150will be reset to 100ms.
151.El
152.Pp
153All devices and busses support dynamic allocation so that
153All devices and buses support dynamic allocation so that
154an upper number of devices and controllers does not need to be configured;
155.Cd "device da"
156will suffice for any number of disk drivers.
157.Pp
158The devices are either
159.Em wired
160so they appear as a particular device unit or
161.Em counted

--- 130 unchanged lines hidden (view full) ---

292This allows to specify support for which debugging flags described above
293should be built into the kernel.
294Flags may be ORed together if the user wishes to
295see printfs for multiple debugging levels.
296.It Dv CAM_DEBUG_FLAGS
297This allows to set the various debugging flags from a kernel config file.
298.It Dv CAM_DEBUG_BUS
299Specify a bus to debug.
154an upper number of devices and controllers does not need to be configured;
155.Cd "device da"
156will suffice for any number of disk drivers.
157.Pp
158The devices are either
159.Em wired
160so they appear as a particular device unit or
161.Em counted

--- 130 unchanged lines hidden (view full) ---

292This allows to specify support for which debugging flags described above
293should be built into the kernel.
294Flags may be ORed together if the user wishes to
295see printfs for multiple debugging levels.
296.It Dv CAM_DEBUG_FLAGS
297This allows to set the various debugging flags from a kernel config file.
298.It Dv CAM_DEBUG_BUS
299Specify a bus to debug.
300To debug all busses, set this to -1.
300To debug all buses, set this to -1.
301.It Dv CAM_DEBUG_TARGET
302Specify a target to debug.
303To debug all targets, set this to -1.
304.It Dv CAM_DEBUG_LUN
305Specify a lun to debug.
306To debug all luns, set this to -1.
307.El
308.Pp

--- 46 unchanged lines hidden ---
301.It Dv CAM_DEBUG_TARGET
302Specify a target to debug.
303To debug all targets, set this to -1.
304.It Dv CAM_DEBUG_LUN
305Specify a lun to debug.
306To debug all luns, set this to -1.
307.El
308.Pp

--- 46 unchanged lines hidden ---