77 lines
2.4 KiB
Groff
77 lines
2.4 KiB
Groff
|
.\" -*- nroff -*-
|
|||
|
.\"
|
|||
|
.\" Copyright (c) 2004 M. Warner Losh.
|
|||
|
.\"
|
|||
|
.\" All rights reserved.
|
|||
|
.\"
|
|||
|
.\" This program is free software.
|
|||
|
.\"
|
|||
|
.\" Redistribution and use in source and binary forms, with or without
|
|||
|
.\" modification, are permitted provided that the following conditions
|
|||
|
.\" are met:
|
|||
|
.\" 1. Redistributions of source code must retain the above copyright
|
|||
|
.\" notice, this list of conditions and the following disclaimer.
|
|||
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|||
|
.\" notice, this list of conditions and the following disclaimer in the
|
|||
|
.\" documentation and/or other materials provided with the distribution.
|
|||
|
.\"
|
|||
|
.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
|
|||
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|||
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|||
|
.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|||
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|||
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|||
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|||
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|||
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
.\"
|
|||
|
.\" %FreeBSD: src/share/man/man9/BUS_ADD_CHILD.9,v 1.3 2004/07/07 07:56:58 ru Exp %
|
|||
|
.\" $FreeBSD$
|
|||
|
.\"
|
|||
|
.Dd May 13, 2004
|
|||
|
.Dt BUS_ADD_CHILD 9
|
|||
|
.Os
|
|||
|
.Sh ̾<EFBFBD><EFBFBD>
|
|||
|
.Nm BUS_ADD_CHILD
|
|||
|
.Nd "Ϳ<><CDBF><EFBFBD><EFBFBD><EFBFBD>줿ͥ<ECA4BF><CDA5><EFBFBD>٤ǥǥХ<C7A5><D0A5><EFBFBD><EFBFBD>Ρ<EFBFBD><CEA1>ɤ<EFBFBD><C9A4>ĥ<C4A5><EAA1BC><EFBFBD>ɲ<EFBFBD>"
|
|||
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.In sys/param.h
|
|||
|
.In sys/bus.h
|
|||
|
.Ft int
|
|||
|
.Fn BUS_ADD_CHILD "device_t dev" "int order" "const char *name" "int unit"
|
|||
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Fn BUS_ADD_CHILD
|
|||
|
<EFBFBD><EFBFBD>åɤϥɥ饤<EFBFBD>Ф<EFBFBD>ǧ<EFBFBD><EFBFBD><EFBFBD>롼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD><EFBFBD>äƥĥ<EFBFBD>˥ǥХ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɲä<EFBFBD><EFBFBD>뤿<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD>ܺ٤ˤĤ<EFBFBD><EFBFBD>Ƥ<EFBFBD>
|
|||
|
.Xr device_add_child 9
|
|||
|
<EFBFBD>Ȥ<EFBFBD><EFBFBD>Ʋ<EFBFBD><EFB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BFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>٤<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Sh <EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Xr device 9 ,
|
|||
|
.Xr device_add_child 9 ,
|
|||
|
.Xr driver 9
|
|||
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Fn BUS_ADD_CHILD
|
|||
|
<EFBFBD><EFBFBD>åɤϥĥ<EFBFBD><EFBFBD><EFBFBD>ɲä<EFBFBD><EFBFBD>줿
|
|||
|
.Vt device_t
|
|||
|
<EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Dv NULL
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>Υޥ˥奢<EFBFBD><EFBFBD><EFBFBD>ڡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.An M. Warner Losh
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|