summaryrefslogtreecommitdiff
path: root/static/freebsd/man9/device.9 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man9/device.9 3.html')
-rw-r--r--static/freebsd/man9/device.9 3.html76
1 files changed, 0 insertions, 76 deletions
diff --git a/static/freebsd/man9/device.9 3.html b/static/freebsd/man9/device.9 3.html
deleted file mode 100644
index 44abf9ea..00000000
--- a/static/freebsd/man9/device.9 3.html
+++ /dev/null
@@ -1,76 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">DEVICE(9)</td>
- <td class="head-vol">Kernel Developer's Manual</td>
- <td class="head-rtitle">DEVICE(9)</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">device</code> &#x2014; <span class="Nd">an
- abstract representation of a device</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<p class="Pp"><var class="Vt">typedef struct _device *device_t</var>;</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">The device object represents a piece of hardware attached to the
- system such as an expansion card, the bus which that card is plugged into,
- disk drives attached to the expansion card etc. The system defines one
- device, <var class="Va">root_bus</var> and all other devices are created
- dynamically during autoconfiguration. Normally devices representing
- top-level buses in the system (ISA, PCI etc.) will be attached directly to
- <var class="Va">root_bus</var> and other devices will be added as children
- of their relevant bus.</p>
-<p class="Pp">The devices in a system form a tree. All devices except
- <var class="Va">root_bus</var> have a parent (see
- <a class="Xr">device_get_parent(9)</a>). In addition, any device can have
- children attached to it (see <a class="Xr">device_add_child(9)</a>,
- <a class="Xr">device_add_child_ordered(9)</a>,
- <a class="Xr">device_find_child(9)</a>,
- <a class="Xr">device_get_children(9)</a>, and
- <a class="Xr">device_delete_child(9)</a>).</p>
-<p class="Pp">A device which has been successfully probed and attached to the
- system will also have a driver (see <a class="Xr">device_get_driver(9)</a>
- and <a class="Xr">driver(9)</a>) and a devclass (see
- <a class="Xr">device_get_devclass(9)</a> and <a class="Xr">devclass(9)</a>).
- Various other attributes of the device include a unit number (see
- <a class="Xr">device_get_unit(9)</a>), verbose description (normally
- supplied by the driver, see <a class="Xr">device_set_desc(9)</a> and
- <a class="Xr">device_get_desc(9)</a>), a set of bus-specific variables (see
- <a class="Xr">device_get_ivars(9)</a>) and a set of driver-specific
- variables (see <a class="Xr">device_get_softc(9)</a>).</p>
-<p class="Pp">Devices can be in one of several states:</p>
-<dl class="Bl-tag">
- <dt id="DS_NOTPRESENT"><a class="permalink" href="#DS_NOTPRESENT"><code class="Dv">DS_NOTPRESENT</code></a></dt>
- <dd>the device has not been probed for existence or the probe failed</dd>
- <dt id="DS_ALIVE"><a class="permalink" href="#DS_ALIVE"><code class="Dv">DS_ALIVE</code></a></dt>
- <dd>the device probe succeeded but not yet attached</dd>
- <dt id="DS_ATTACHED"><a class="permalink" href="#DS_ATTACHED"><code class="Dv">DS_ATTACHED</code></a></dt>
- <dd>the device has been successfully attached</dd>
- <dt id="DS_BUSY"><a class="permalink" href="#DS_BUSY"><code class="Dv">DS_BUSY</code></a></dt>
- <dd>the device is currently open</dd>
-</dl>
-<p class="Pp">The current state of the device can be determined by calling
- <a class="Xr">device_get_state(9)</a>.</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">devclass(9)</a>, <a class="Xr">driver(9)</a></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
-<p class="Pp">This manual page was written by <span class="An">Doug
- Rabson</span>.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">January 15, 2017</td>
- <td class="foot-os">FreeBSD 15.0</td>
- </tr>
-</table>