diff options
Diffstat (limited to 'static/freebsd/man9/BUS_ADD_CHILD.9 3.html')
| -rw-r--r-- | static/freebsd/man9/BUS_ADD_CHILD.9 3.html | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/static/freebsd/man9/BUS_ADD_CHILD.9 3.html b/static/freebsd/man9/BUS_ADD_CHILD.9 3.html deleted file mode 100644 index c64b8b05..00000000 --- a/static/freebsd/man9/BUS_ADD_CHILD.9 3.html +++ /dev/null @@ -1,77 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">BUS_ADD_CHILD(9)</td> - <td class="head-vol">Kernel Developer's Manual</td> - <td class="head-rtitle">BUS_ADD_CHILD(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">BUS_ADD_CHILD</code> — - <span class="Nd">add a device node to the tree with a given - priority</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> -<p class="Pp"><code class="In">#include - <<a class="In">sys/param.h</a>></code> - <br/> - <code class="In">#include <<a class="In">sys/bus.h</a>></code></p> -<p class="Pp"><var class="Ft">device_t</var> - <br/> - <code class="Fn">BUS_ADD_CHILD</code>(<var class="Fa" style="white-space: nowrap;">device_t - dev</var>, <var class="Fa" style="white-space: nowrap;">int order</var>, - <var class="Fa" style="white-space: nowrap;">const char *name</var>, - <var class="Fa" style="white-space: nowrap;">int unit</var>);</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">The - <a class="permalink" href="#BUS_ADD_CHILD"><code class="Fn" id="BUS_ADD_CHILD">BUS_ADD_CHILD</code></a>() - method is used by the driver identify routine to add devices to the tree. It - can also be used to add children to buses that implement this routine in - other contexts, although the behavior is bus specific. Please see - <a class="Xr">device_add_child(9)</a> for more details. The interface is the - same as <a class="Xr">device_add_child(9)</a> however, the bus' - <code class="Fn">BUS_ADD_CHILD</code>() is called.</p> -<p class="Pp" id="BUS_ADD_CHILD~2">Buses implementing - <a class="permalink" href="#BUS_ADD_CHILD~2"><code class="Fn">BUS_ADD_CHILD</code></a>() - should insert the device into the tree using - <a class="Xr">device_add_child(9)</a> before adding things such as their own - ivars and resource lists to the device. - <code class="Fn">BUS_ADD_CHILD</code>() is not called by - <a class="Xr">device_add_child(9)</a>. - <code class="Fn">BUS_ADD_CHILD</code>() instead calls - <a class="Xr">device_add_child(9)</a>.</p> -<p class="Pp" id="BUS_ADD_CHILD~3">A panic will result when called for a bus - that does not implement - <a class="permalink" href="#BUS_ADD_CHILD~3"><code class="Fn">BUS_ADD_CHILD</code></a>(). - Some buses require a special bus-specific routine to be called instead of - <code class="Fn">BUS_ADD_CHILD</code>().</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN - VALUES</a></h1> -<p class="Pp">The <code class="Fn">BUS_ADD_CHILD</code>() method returns - <var class="Vt">device_t</var> added to the tree, or - <code class="Dv">NULL</code> to indicate failure.</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">device(9)</a>, - <a class="Xr">device_add_child(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">M. Warner - Losh</span>.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">April 8, 2018</td> - <td class="foot-os">FreeBSD 15.0</td> - </tr> -</table> |
