summaryrefslogtreecommitdiff
path: root/static/freebsd/man4/xpt.4 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man4/xpt.4 4.html')
-rw-r--r--static/freebsd/man4/xpt.4 4.html104
1 files changed, 104 insertions, 0 deletions
diff --git a/static/freebsd/man4/xpt.4 4.html b/static/freebsd/man4/xpt.4 4.html
new file mode 100644
index 00000000..289e163a
--- /dev/null
+++ b/static/freebsd/man4/xpt.4 4.html
@@ -0,0 +1,104 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">XPT(4)</td>
+ <td class="head-vol">Device Drivers Manual</td>
+ <td class="head-rtitle">XPT(4)</td>
+ </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<p class="Pp"><code class="Nm">xpt</code> &#x2014; <span class="Nd">CAM
+ transport layer interface</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<p class="Pp">None.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp">The <code class="Nm">xpt</code> driver provides a way for userland
+ applications to issue certain CAM CCBs to the kernel.</p>
+<p class="Pp">Since the <code class="Nm">xpt</code> driver allows direct access
+ to the CAM subsystem, system administrators should exercise caution when
+ granting access to this driver. If used improperly, this driver can allow
+ userland applications to crash a machine or cause data loss.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="KERNEL_CONFIGURATION"><a class="permalink" href="#KERNEL_CONFIGURATION">KERNEL
+ CONFIGURATION</a></h1>
+<p class="Pp">There is no kernel configuration required for the
+ <code class="Nm">xpt</code> driver. It is enabled when SCSI support is
+ enabled in the kernel. There is one instance of the xpt driver per CAM
+ transport layer instance. Since there is currently only one CAM transport
+ layer, there will only be one instance of this driver.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="IOCTLS"><a class="permalink" href="#IOCTLS">IOCTLS</a></h1>
+<dl class="Bl-tag">
+ <dt>CAMIOCOMMAND</dt>
+ <dd>This ioctl takes certain kinds of CAM CCBs and passes them through to the
+ CAM transport layer for action. Only the following CCB types are
+ supported:
+ <p class="Pp"></p>
+ <dl class="Bl-tag Bl-compact">
+ <dt>XPT_SCAN_BUS</dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+ <dt>XPT_RESET_BUS</dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+ <dt>XPT_SCAN_LUN</dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+ <dt>XPT_ENG_INQ</dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+ <dt>XPT_ENG_EXEC</dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+ <dt>XPT_DEBUG</dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+ <dt>XPT_DEV_MATCH</dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+ <dt>XPT_PATH_INQ</dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+ </dl>
+ <p class="Pp">The above CCBs are the only ones supported since it makes more
+ sense to send them through a generic passthrough device rather than a
+ passthrough device tied to a particular underlying SCSI device.</p>
+ </dd>
+ <dt>CAMGETPASSTHRU</dt>
+ <dd>This ioctl takes an XPT_GDEVLIST CCB, and returns the passthrough device
+ corresponding to the device in question.</dd>
+</dl>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
+<dl class="Bl-tag Bl-compact">
+ <dt><span class="Pa">/dev/xpt0</span></dt>
+ <dd>Character device node for the <code class="Nm">xpt</code> driver.</dd>
+</dl>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOSTICS</a></h1>
+<p class="Pp">None.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+ ALSO</a></h1>
+<p class="Pp"><a class="Xr">cam(3)</a>, <a class="Xr">cam_cdbparse(3)</a>,
+ <a class="Xr">pass(4)</a>, <a class="Xr">camcontrol(8)</a></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<p class="Pp">The CAM transport layer driver first appeared in
+ <span class="Ux">FreeBSD 3.0</span>.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
+<p class="Pp"><span class="An">Kenneth Merry</span>
+ &lt;<a class="Mt" href="mailto:ken@FreeBSD.org">ken@FreeBSD.org</a>&gt;</p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">October 10, 1998</td>
+ <td class="foot-os">FreeBSD 15.0</td>
+ </tr>
+</table>