summaryrefslogtreecommitdiff
path: root/static/freebsd/man9/BUS_PRINT_CHILD.9 4.html
blob: f7c10d6079f775309da369f86db82cf4827bc2ff (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
50
51
52
53
54
55
56
57
58
<table class="head">
  <tr>
    <td class="head-ltitle">BUS_PRINT_CHILD(9)</td>
    <td class="head-vol">Kernel Developer's Manual</td>
    <td class="head-rtitle">BUS_PRINT_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_PRINT_CHILD</code> &#x2014;
    <span class="Nd">print information about a device</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
    &lt;<a class="In">sys/param.h</a>&gt;</code>
  <br/>
  <code class="In">#include &lt;<a class="In">sys/bus.h</a>&gt;</code></p>
<p class="Pp"><var class="Ft">int</var>
  <br/>
  <code class="Fn">BUS_PRINT_CHILD</code>(<var class="Fa" style="white-space: nowrap;">device_t
    dev</var>, <var class="Fa" style="white-space: nowrap;">device_t
    child</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_PRINT_CHILD"><code class="Fn" id="BUS_PRINT_CHILD">BUS_PRINT_CHILD</code></a>()
    method is called from system code which prints out a description of a
    device. It should describe the attachment that the child has with the
    parent. For instance the TurboLaser bus prints which node the device is
    attached to. Please see <a class="Xr">bus_generic_print_child(9)</a> for
    more information regarding the proper formatting of the messages printed by
    <code class="Fn">BUS_PRINT_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 number of characters output.</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">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 6, 2005</td>
    <td class="foot-os">FreeBSD 15.0</td>
  </tr>
</table>