diff options
Diffstat (limited to 'static/freebsd/man9/bus_generic_detach.9 4.html')
| -rw-r--r-- | static/freebsd/man9/bus_generic_detach.9 4.html | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/static/freebsd/man9/bus_generic_detach.9 4.html b/static/freebsd/man9/bus_generic_detach.9 4.html deleted file mode 100644 index 1f468de0..00000000 --- a/static/freebsd/man9/bus_generic_detach.9 4.html +++ /dev/null @@ -1,62 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">BUS_GENERIC_DETACH(9)</td> - <td class="head-vol">Kernel Developer's Manual</td> - <td class="head-rtitle">BUS_GENERIC_DETACH(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_generic_detach</code> — - <span class="Nd">generic implementation of - <code class="Dv">DEVICE_DETACH</code> for buses</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">int</var> - <br/> - <code class="Fn">bus_generic_detach</code>(<var class="Fa" style="white-space: nowrap;">device_t - dev</var>);</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">This function provides an implementation of the - <a class="Xr">DEVICE_DETACH(9)</a> method which can be used by most bus - code. It uses <a class="Xr">bus_detach_children(9)</a> to detach drivers - from all child devices giving them a chance to veto the detach request. If - <a class="permalink" href="#bus_detach_children"><code class="Fn" id="bus_detach_children">bus_detach_children</code></a>() - succeeds, - <a class="permalink" href="#bus_generic_detach"><code class="Fn" id="bus_generic_detach">bus_generic_detach</code></a>() - calls <a class="Xr">device_delete_children(9)</a> to delete all child - devices.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN - VALUES</a></h1> -<p class="Pp">Zero is returned on success, otherwise an appropriate error is - returned.</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">bus_detach_children(9)</a>, - <a class="Xr">device(9)</a>, <a class="Xr">device_delete_children(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">February 5, 2025</td> - <td class="foot-os">FreeBSD 15.0</td> - </tr> -</table> |
