blob: c25b1be7db501503af839b92b8ee71857b208076 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<table class="head">
<tr>
<td class="head-ltitle">BUS_GENERIC_NEW_PASS(9)</td>
<td class="head-vol">Kernel Developer's Manual</td>
<td class="head-rtitle">BUS_GENERIC_NEW_PASS(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_new_pass</code> —
<span class="Nd">generic implementation of BUS_NEW_PASS for bus
devices</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">void</var>
<br/>
<code class="Fn">bus_generic_new_pass</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">BUS_NEW_PASS(9)</a> method which can be used by bus drivers.
It first invokes the <a class="Xr">DEVICE_IDENTIFY(9)</a> method for any
drivers whose pass level is equal to the new pass level. Then, for each
attached child device it calls <a class="Xr">BUS_NEW_PASS(9)</a> to rescan
child buses, and for each unattached child device it calls
<a class="Xr">device_probe_and_attach(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">BUS_NEW_PASS(9)</a>,
<a class="Xr">bus_set_pass(9)</a>, <a class="Xr">device(9)</a>,
<a class="Xr">DEVICE_IDENTIFY(9)</a></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>
|